diff options
Diffstat (limited to 'tests/test_libmat2.py')
| -rw-r--r-- | tests/test_libmat2.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py index cb37985..fa7e281 100644 --- a/tests/test_libmat2.py +++ b/tests/test_libmat2.py | |||
| @@ -7,6 +7,14 @@ import zipfile | |||
| 7 | import tempfile | 7 | import tempfile |
| 8 | 8 | ||
| 9 | from libmat2 import pdf, images, audio, office, parser_factory, torrent, harmless | 9 | from libmat2 import pdf, images, audio, office, parser_factory, torrent, harmless |
| 10 | from libmat2 import check_dependencies | ||
| 11 | |||
| 12 | |||
| 13 | class TestCheckDependencies(unittest.TestCase): | ||
| 14 | def test_deps(self): | ||
| 15 | ret = check_dependencies() | ||
| 16 | for key, value in ret.items(): | ||
| 17 | self.assertTrue(value) | ||
| 10 | 18 | ||
| 11 | 19 | ||
| 12 | class TestParserFactory(unittest.TestCase): | 20 | class TestParserFactory(unittest.TestCase): |
