Skip test_z_diff() if runninga against for osbuild-composer

See https://github.com/osbuild/osbuild-composer/issues/903

Related: rhbz#1825190
This commit is contained in:
Alexander Todorov 2020-08-03 18:56:59 +03:00 committed by Brian C. Lane
parent 7b645e4fa8
commit 498dd262f8

View File

@ -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"""