Removes last vestiges of PNG from the tests, code, docs and samples

This commit is contained in:
Trenton Holmes
2022-06-11 14:15:27 -07:00
parent 762d28cc47
commit ee4e3cebe2
19 changed files with 14 additions and 60 deletions

View File

@@ -176,7 +176,7 @@ class TestDocumentApi(DirectoriesMixin, APITestCase):
)
with open(
os.path.join(self.dirs.thumbnail_dir, f"{doc.pk:07d}.png"),
os.path.join(self.dirs.thumbnail_dir, f"{doc.pk:07d}.webp"),
"wb",
) as f:
f.write(content_thumbnail)
@@ -1022,7 +1022,7 @@ class TestDocumentApi(DirectoriesMixin, APITestCase):
"samples",
"documents",
"thumbnails",
"0000001.png",
"0000001.webp",
)
archive_file = os.path.join(os.path.dirname(__file__), "samples", "simple.pdf")