tests: Fix diff test BACKEND check

The environmental variable we are using is 'BACKEND' not
'COMPOSER_BACKEND'

Related: rhbz#1825190
This commit is contained in:
Brian C. Lane 2020-08-10 11:15:04 -07:00
parent 693309ec30
commit f112a0cbc7
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ class BlueprintsTest(unittest.TestCase):
# XXX MUST COME LAST
# XXX which is what _z_ ensures
@unittest.skipIf(os.getenv("COMPOSER_BACKEND") == "osbuild-composer",
@unittest.skipIf(os.getenv("BACKEND") == "osbuild-composer",
"Skipped for osbuild-composer, see https://github.com/osbuild/osbuild-composer/issues/903")
@unittest.skipUnless(os.path.exists("/run/weldr/api.socket"), "Test requires a running API server")
def test_z_diff(self):