more tests!

This commit is contained in:
jonaswinkler 2020-11-29 19:22:49 +01:00
parent 39c682dc07
commit a3143ec512
5 changed files with 83 additions and 9 deletions

View file

@ -82,6 +82,7 @@ class TestBaseParser(TestCase):
shutil.rmtree(self.scratch)
@mock.patch("documents.parsers.DocumentParser.get_thumbnail", fake_get_thumbnail)
@override_settings(OPTIMIZE_THUMBNAILS=True)
def test_get_optimised_thumbnail(self):
parser = DocumentParser(None)