Blame SOURCES/0008-tests-skip-add-del-and-re-del-add-tests-if-have_root.patch

55fd57
 tests/command_tests.py | 2 ++
55fd57
 1 file changed, 2 insertions(+)
55fd57
55fd57
diff --git a/tests/command_tests.py b/tests/command_tests.py
55fd57
index fee6a33..b85b7dd 100644
55fd57
--- a/tests/command_tests.py
55fd57
+++ b/tests/command_tests.py
55fd57
@@ -519,6 +519,7 @@ class CommandTests(unittest.TestCase):
55fd57
         be.delete_entry()
55fd57
         self.assertFalse(exists(be._entry_path))
55fd57
 
55fd57
+    @unittest.skipIf(not have_root_lv(), "requires root LV")
55fd57
     def test_clone_entry_del_opts_and_re_add(self):
55fd57
         # Fedora 24 (Workstation Edition)
55fd57
 
55fd57
@@ -537,6 +538,7 @@ class CommandTests(unittest.TestCase):
55fd57
         # Assert it's back
55fd57
         self.assertTrue("rhgb quiet" in be2.options)
55fd57
 
55fd57
+    @unittest.skipIf(not have_root_lv(), "requires root LV")
55fd57
     def test_clone_entry_add_opts_and_re_del(self):
55fd57
         # Fedora 24 (Workstation Edition)
55fd57