diff options
Diffstat (limited to 'test/libtest.py')
| -rw-r--r-- | test/libtest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libtest.py b/test/libtest.py index 6561269..751053e 100644 --- a/test/libtest.py +++ b/test/libtest.py | |||
| @@ -31,14 +31,14 @@ class Test_List_lib(test.MATTest): | |||
| 31 | '''check if get_meta returns all the expected meta''' | 31 | '''check if get_meta returns all the expected meta''' |
| 32 | for clean, dirty in self.file_list: | 32 | for clean, dirty in self.file_list: |
| 33 | current_file = mat.create_class_file(dirty) | 33 | current_file = mat.create_class_file(dirty) |
| 34 | meta_list = ('exif', 'photoshop', 'adobe') | 34 | #FIXME assertisNotNone() : python 2.7 |
| 35 | self.assertEqual(current_file.get_meta(), meta_list) | 35 | self.assertTrue(current_file.get_meta()) |
| 36 | 36 | ||
| 37 | def testlist_list_empty(self): | 37 | def testlist_list_empty(self): |
| 38 | '''check that a listing of a clean file return an empty dict''' | 38 | '''check that a listing of a clean file return an empty dict''' |
| 39 | for clean, dirty in self.file_list: | 39 | for clean, dirty in self.file_list: |
| 40 | current_file = mat.create_class_file(clean) | 40 | current_file = mat.create_class_file(clean) |
| 41 | self.assertEqual(current_file.get_meta(), list()) | 41 | self.assertEqual(current_file.get_meta(), dict()) |
| 42 | 42 | ||
| 43 | 43 | ||
| 44 | class Test_isClean_lib(test.MATTest): | 44 | class Test_isClean_lib(test.MATTest): |
