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

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