fix some test cases

This commit is contained in:
jonaswinkler
2021-02-09 00:00:46 +01:00
parent 016a80ab88
commit 0871128638
3 changed files with 3 additions and 0 deletions

View File

@@ -146,6 +146,7 @@ class TestDocumentApi(DirectoriesMixin, APITestCase):
self.assertEqual(response.status_code, 200)
self.assertEqual(response.content, content_thumbnail)
@override_settings(PAPERLESS_FILENAME_FORMAT="")
def test_download_with_archive(self):
_, filename = tempfile.mkstemp(dir=self.dirs.originals_dir)