diff options
| author | jvoisin | 2018-10-02 15:26:13 +0200 |
|---|---|---|
| committer | jvoisin | 2018-10-02 15:26:13 +0200 |
| commit | 9578e4b4ee2a02beada43e8c387648fbcc51549f (patch) | |
| tree | 32290c267ab03493cc148f816655dd14c66f4eb1 /tests | |
| parent | a46a7eb6fa7025a11510d3e348cef32ba3c70a0c (diff) | |
Silence a bit the testsuite
Diffstat (limited to '')
| -rw-r--r-- | tests/test_corrupted_files.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py index 5af0e81..4ac2678 100644 --- a/tests/test_corrupted_files.py +++ b/tests/test_corrupted_files.py | |||
| @@ -3,9 +3,15 @@ | |||
| 3 | import unittest | 3 | import unittest |
| 4 | import shutil | 4 | import shutil |
| 5 | import os | 5 | import os |
| 6 | import logging | ||
| 6 | 7 | ||
| 7 | from libmat2 import pdf, images, audio, office, parser_factory, torrent, harmless | 8 | from libmat2 import pdf, images, audio, office, parser_factory, torrent, harmless |
| 8 | 9 | ||
| 10 | # No need to logging messages, should something go wrong, | ||
| 11 | # the testsuite _will_ fail. | ||
| 12 | logger = logging.getLogger() | ||
| 13 | logger.setLevel(logging.FATAL) | ||
| 14 | |||
| 9 | 15 | ||
| 10 | class TestInexistentFiles(unittest.TestCase): | 16 | class TestInexistentFiles(unittest.TestCase): |
| 11 | def test_ro(self): | 17 | def test_ro(self): |
