Fixes generation of thumbnails when the archive file hasn't already been created

This commit is contained in:
Trenton H
2023-06-26 08:16:49 -07:00
parent 1c93ee1aff
commit fe9874a96a
2 changed files with 4 additions and 7 deletions

View File

@@ -293,9 +293,7 @@ class TestEmailThumbnailGenerate(BaseMailParserTestCase):
"message/rfc822",
)
mock_generate_pdf.assert_called_once_with(
test_file,
)
mock_generate_pdf.assert_called_once()
mock_make_thumbnail_from_pdf.assert_called_once_with(
"Mocked return value..",
self.parser.tempdir,