---
tests/formats_test/selinux_test.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/formats_test/selinux_test.py b/tests/formats_test/selinux_test.py
index 14433da..83c38d6 100755
--- a/tests/formats_test/selinux_test.py
+++ b/tests/formats_test/selinux_test.py
@@ -9,6 +9,7 @@ from tests import loopbackedtestcase
import blivet.formats.fs as fs
from blivet.size import Size
+(a)unittest.skipUnless(selinux.is_selinux_enabled() == 1, "SELinux is disabled")
class SELinuxContextTestCase(loopbackedtestcase.LoopBackedTestCase):
"""Testing SELinux contexts.
"""
--
1.9.3