1
0
mirror of synced 2024-11-22 09:14:23 +01:00

Silence a bit the testsuite

This commit is contained in:
jvoisin 2018-10-02 15:26:13 +02:00
parent a46a7eb6fa
commit 9578e4b4ee

View File

@ -3,9 +3,15 @@
import unittest import unittest
import shutil import shutil
import os import os
import logging
from libmat2 import pdf, images, audio, office, parser_factory, torrent, harmless from libmat2 import pdf, images, audio, office, parser_factory, torrent, harmless
# No need to logging messages, should something go wrong,
# the testsuite _will_ fail.
logger = logging.getLogger()
logger.setLevel(logging.FATAL)
class TestInexistentFiles(unittest.TestCase): class TestInexistentFiles(unittest.TestCase):
def test_ro(self): def test_ro(self):