From f112a0cbc7c1b40efc8bfff58e421ef7ea598c22 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 10 Aug 2020 11:15:04 -0700 Subject: [PATCH] tests: Fix diff test BACKEND check The environmental variable we are using is 'BACKEND' not 'COMPOSER_BACKEND' Related: rhbz#1825190 --- tests/composer/test_blueprints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/composer/test_blueprints.py b/tests/composer/test_blueprints.py index 82f791f9..3dda192f 100644 --- a/tests/composer/test_blueprints.py +++ b/tests/composer/test_blueprints.py @@ -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):