Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
tests/media_storage: add async media parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Jun 3, 2022
1 parent c45369b commit 0ab87e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/rest/media/v1/test_media_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,13 @@ def _req(
self.assertEqual(
self.fetches[0][2], "/_matrix/media/r0/download/" + self.media_id
)
self.assertEqual(self.fetches[0][3], {"allow_remote": "false"})
self.assertEqual(
self.fetches[0][3],
{
"allow_remote": "false",
"fi.mau.msc2246.max_stall_ms": "20000",
},
)

headers = {
b"Content-Length": [b"%d" % (len(self.test_image.data))],
Expand Down

0 comments on commit 0ab87e5

Please sign in to comment.