It can be tested, since NTFS filesystem can be created.
Signed-off-by: mulhern <amulhern(a)redhat.com>
---
tests/formats_test/labeling_test.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/formats_test/labeling_test.py b/tests/formats_test/labeling_test.py
index 8ac2e9b..ef69278 100755
--- a/tests/formats_test/labeling_test.py
+++ b/tests/formats_test/labeling_test.py
@@ -90,6 +90,10 @@ class MethodsTestCase(unittest.TestCase):
if issubclass(klass, fs.FS) and not klass.labeling() and not
issubclass(klass, fs.NFS):
self.assertEqual(klass(device="/dev", label=label).label,
label, msg=name)
+class NTFSTestCase(fslabeling.CompleteLabelingAsRoot):
+ _fs_class = fs.NTFS
+ _invalid_label = "n" * 129
+
class XFSTestCase(fslabeling.CompleteLabelingAsRoot):
_fs_class = fs.XFS
_invalid_label = "root filesystem"
--
1.9.3