From 6c0bc181398bac7cba1107dd1af7546e7dfe7436 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 17 Sep 2021 15:28:39 +0100 Subject: Fix tests --- tests/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/server.py') diff --git a/tests/server.py b/tests/server.py index b861c7b866..29edce1077 100644 --- a/tests/server.py +++ b/tests/server.py @@ -268,7 +268,7 @@ def make_request( channel = FakeChannel(site, reactor, ip=client_ip) - req = request(channel) + 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) -- cgit 1.5.1