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

Commit f13152c

Browse files
committed
tests/media_storage: add async media parameter
Signed-off-by: Sumner Evans <sumner@beeper.com>
1 parent 7e4c575 commit f13152c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/rest/media/v1/test_media_storage.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,13 @@ def _req(
280280
self.assertEqual(
281281
self.fetches[0][2], "/_matrix/media/r0/download/" + self.media_id
282282
)
283-
self.assertEqual(self.fetches[0][3], {"allow_remote": "false"})
283+
self.assertEqual(
284+
self.fetches[0][3],
285+
{
286+
"allow_remote": "false",
287+
"fi.mau.msc2246.max_stall_ms": "20000",
288+
},
289+
)
284290

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

0 commit comments

Comments
 (0)