diff options
| author | jvoisin | 2018-04-02 17:36:26 +0200 |
|---|---|---|
| committer | jvoisin | 2018-04-02 17:36:26 +0200 |
| commit | 6868f20065ef2e46f295c34f27c0736d54283535 (patch) | |
| tree | a76ef4cf903d763fe4435e282c402f2ebd0d0a82 /tests/test_libmat2.py | |
| parent | 6c29e0eae256ddb3d32fd78e9949d0aa81be033e (diff) | |
`parser_factory` now returns the mtype too
Diffstat (limited to 'tests/test_libmat2.py')
| -rw-r--r-- | tests/test_libmat2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py index 8aa91f0..b52e8ce 100644 --- a/tests/test_libmat2.py +++ b/tests/test_libmat2.py | |||
| @@ -72,7 +72,7 @@ class TestDeepCleaning(unittest.TestCase): | |||
| 72 | for subdir, dirs, files in os.walk(tempdir): | 72 | for subdir, dirs, files in os.walk(tempdir): |
| 73 | for f in files: | 73 | for f in files: |
| 74 | complete_path = os.path.join(subdir, f) | 74 | complete_path = os.path.join(subdir, f) |
| 75 | inside_p = parser_factory.get_parser(complete_path) | 75 | inside_p, _ = parser_factory.get_parser(complete_path) |
| 76 | if inside_p is None: | 76 | if inside_p is None: |
| 77 | continue | 77 | continue |
| 78 | print('[+] %s is clean inside %s' %(complete_path, p.filename)) | 78 | print('[+] %s is clean inside %s' %(complete_path, p.filename)) |
