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

Commit

Permalink
tests/media/test_media_storage: add timeout_ms
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Jun 10, 2023
1 parent 9a5b067 commit e3ae627
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/media/test_media_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@ 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", "timeout_ms": "20000"}
)

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

0 comments on commit e3ae627

Please sign in to comment.