OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # -*- coding: utf-8 -*- | 2 # -*- coding: utf-8 -*- |
3 """Tests for the NTFS resolver helper implementation.""" | 3 """Tests for the NTFS resolver helper implementation.""" |
4 | 4 |
5 from __future__ import unicode_literals | 5 from __future__ import unicode_literals |
6 | 6 |
7 import unittest | 7 import unittest |
8 | 8 |
9 from dfvfs.resolver import ntfs_resolver_helper | 9 from dfvfs.resolver_helpers import ntfs_resolver_helper |
10 | 10 |
11 from tests.resolver import test_lib | 11 from tests.resolver_helpers import test_lib |
12 | 12 |
13 | 13 |
14 class NTFSResolverHelperTest(test_lib.ResolverHelperTestCase): | 14 class NTFSResolverHelperTest(test_lib.ResolverHelperTestCase): |
15 """Tests for the NTFS resolver helper implementation.""" | 15 """Tests for the NTFS resolver helper implementation.""" |
16 | 16 |
17 def testNewFileObject(self): | 17 def testNewFileObject(self): |
18 """Tests the NewFileObject function.""" | 18 """Tests the NewFileObject function.""" |
19 resolver_helper_object = ntfs_resolver_helper.NTFSResolverHelper() | 19 resolver_helper_object = ntfs_resolver_helper.NTFSResolverHelper() |
20 self._TestNewFileObject(resolver_helper_object) | 20 self._TestNewFileObject(resolver_helper_object) |
21 | 21 |
22 def testNewFileSystem(self): | 22 def testNewFileSystem(self): |
23 """Tests the NewFileSystem function.""" | 23 """Tests the NewFileSystem function.""" |
24 resolver_helper_object = ntfs_resolver_helper.NTFSResolverHelper() | 24 resolver_helper_object = ntfs_resolver_helper.NTFSResolverHelper() |
25 self._TestNewFileSystem(resolver_helper_object) | 25 self._TestNewFileSystem(resolver_helper_object) |
26 | 26 |
27 | 27 |
28 if __name__ == '__main__': | 28 if __name__ == '__main__': |
29 unittest.main() | 29 unittest.main() |
OLD | NEW |