summary refs log tree commit diff
path: root/tests/server.py
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-02-04 15:27:01 -0600
committerEric Eastwood <erice@element.io>2022-02-04 15:27:01 -0600
commit47590bb19e87d626c94f9529eda6cda6c2359bec (patch)
tree5577c9470f41b4b85346178af584610ea95b75c6 /tests/server.py
parentMerge branch 'develop' into madlittlemods/return-historical-events-in-order-f... (diff)
parentClarify that users' media are also preview images (#11862) (diff)
downloadsynapse-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.py2
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(