From 498dd262f84d6b21bfa7cb70f64fe1fcdabf9b14 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Mon, 3 Aug 2020 18:56:59 +0300 Subject: [PATCH] Skip test_z_diff() if runninga against for osbuild-composer See https://github.com/osbuild/osbuild-composer/issues/903 Related: rhbz#1825190 --- tests/composer/test_blueprints.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/composer/test_blueprints.py b/tests/composer/test_blueprints.py index b24daf73..f9b5ceeb 100644 --- a/tests/composer/test_blueprints.py +++ b/tests/composer/test_blueprints.py @@ -258,6 +258,8 @@ class BlueprintsTest(unittest.TestCase): # XXX MUST COME LAST # XXX which is what _z_ ensures + @unittest.skipIf(os.getenv("COMPOSER_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): """blueprints diff"""