This commit is contained in:
Andrea Spacca 2021-01-07 16:58:24 +01:00
parent 5dd4c50c2a
commit b6b4362ade

View File

@ -183,12 +183,13 @@ class TestClass(object):
upload_cache = panstore.load_upload(server_name)
assert not upload_cache
filename = "orange_cat.jpg"
mimetype = "image/jpeg"
event = self.encrypted_media_event
assert not panstore.load_upload(server_name, event.url)
upload = UploadInfo(event.url, mimetype)
upload = UploadInfo(event.url, filename, mimetype)
panstore.save_upload(server_name, event.url, mimetype)