diff --git a/test/mod/test_util_ostree.py b/test/mod/test_util_ostree.py index f70e4889..375384af 100644 --- a/test/mod/test_util_ostree.py +++ b/test/mod/test_util_ostree.py @@ -91,6 +91,7 @@ class TestObjectStore(test.TestBase): self.assertEqual(v, js[p]) @unittest.skipUnless(test.TestBase.have_test_data(), "no test-data access") + @unittest.skipUnless(test.TestBase.have_rpm_ostree(), "rpm-ostree missing") def test_show_commit(self): repo_path = os.path.join(self.locate_test_data(), "sources/org.osbuild.ostree/data/repo") ostree.show(repo_path, "d6243b0d0ca3dc2aaef2e0eb3e9f1f4836512c2921007f124b285f7c466464d8") diff --git a/test/run/test_assemblers.py b/test/run/test_assemblers.py index 2cb8efe1..b33fe4fe 100644 --- a/test/run/test_assemblers.py +++ b/test/run/test_assemblers.py @@ -98,6 +98,7 @@ def test_rawfs(osbuild, fs_type): @pytest.mark.skipif(not test.TestBase.have_tree_diff(), reason="tree-diff missing") @pytest.mark.skipif(not test.TestBase.have_test_data(), reason="no test-data access") @pytest.mark.skipif(not test.TestBase.can_bind_mount(), reason="root-only") +@pytest.mark.skipif(not test.TestBase.have_rpm_ostree(), reason="rpm-ostree missing") def test_ostree(osbuild): with osbuild as osb: with open(os.path.join(test.TestBase.locate_test_data(),