mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-09-28 14:39:39 -04:00
fix test
This commit is contained in:
parent
5dd4c50c2a
commit
b6b4362ade
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue