From 0239ab3b6a6ae38dbf5ba439f91f0cee498711a9 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 4 Apr 2018 23:21:48 +0200 Subject: Add some white lines to make the code more compliant --- tests/test_libmat2.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_libmat2.py') diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py index c2864c6..4cfb80a 100644 --- a/tests/test_libmat2.py +++ b/tests/test_libmat2.py @@ -8,6 +8,7 @@ import tempfile from src import pdf, images, audio, office, parser_factory + class TestParserFactory(unittest.TestCase): def test_subsubcalss(self): """ Test that our module auto-detection is handling sub-sub-classes """ @@ -15,6 +16,7 @@ class TestParserFactory(unittest.TestCase): self.assertEqual(mimetype, 'audio/mpeg') self.assertEqual(parser.__class__, audio.MP3Parser) + class TestGetMeta(unittest.TestCase): def test_pdf(self): p = pdf.PDFParser('./tests/data/dirty.pdf') @@ -132,6 +134,7 @@ class TestDeepCleaning(unittest.TestCase): os.remove('./tests/data/clean.odt') + class TestCleaning(unittest.TestCase): def test_pdf(self): shutil.copy('./tests/data/dirty.pdf', './tests/data/clean.pdf') -- cgit v1.3