diff options
| author | jvoisin | 2011-06-21 20:05:11 +0200 |
|---|---|---|
| committer | jvoisin | 2011-06-21 20:05:11 +0200 |
| commit | e045663968a96cff06a2037cb8abff5de5030518 (patch) | |
| tree | 1045de1e58d22e4d9907484e5c6a83ebed0304d0 /test/libtest.py | |
| parent | 9e0f6cf0ea0a992450c12aec73b459403de5f3c2 (diff) | |
tests are all green now !
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): |
