diff options
author | Eric Eastwood <erice@element.io> | 2022-02-04 15:27:01 -0600 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-02-04 15:27:01 -0600 |
commit | 47590bb19e87d626c94f9529eda6cda6c2359bec (patch) | |
tree | 5577c9470f41b4b85346178af584610ea95b75c6 /tests/server.py | |
parent | Merge branch 'develop' into madlittlemods/return-historical-events-in-order-f... (diff) | |
parent | Clarify that users' media are also preview images (#11862) (diff) | |
download | synapse-47590bb19e87d626c94f9529eda6cda6c2359bec.tar.xz |
Merge branch 'develop' into madlittlemods/return-historical-events-in-order-from-backfill
Diffstat (limited to 'tests/server.py')
-rw-r--r-- | tests/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server.py b/tests/server.py index a0cd14ea45..82990c2eb9 100644 --- a/tests/server.py +++ b/tests/server.py @@ -313,7 +313,7 @@ def make_request( req = request(channel, site) req.content = BytesIO(content) # Twisted expects to be at the end of the content when parsing the request. - req.content.seek(SEEK_END) + req.content.seek(0, SEEK_END) if access_token: req.requestHeaders.addRawHeader( |