mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
fix test
This commit is contained in:
parent
5dd4c50c2a
commit
b6b4362ade
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user