From 9578e4b4ee2a02beada43e8c387648fbcc51549f Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Tue, 2 Oct 2018 15:26:13 +0200
Subject: [PATCH] Silence a bit the testsuite

---
 tests/test_corrupted_files.py | 6 ++++++
 1 file changed, 6 insertions(+)

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 @@
 import unittest
 import shutil
 import os
+import logging
 
 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):
     def test_ro(self):
-- 
GitLab