aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest
diff options
context:
space:
mode:
Diffstat (limited to '_pytest')
-rw-r--r--_pytest/conftest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py
index af86b02..90e064e 100644
--- a/_pytest/conftest.py
+++ b/_pytest/conftest.py
@@ -51,7 +51,8 @@ def realish_eventrouter(mock_websocket, mock_weechat):
rtmstartdata = rtmstartfile.read().decode("utf-8")
else:
rtmstartdata = rtmstartfile.read()
- e.receive_httprequest_callback(context, "", 0, rtmstartdata, "")
+ response = "HTTP/2 200\r\n\r\n" + rtmstartdata
+ e.receive_httprequest_callback(context, "", 0, response, "")
while len(e.queue):
e.handle_next()
for team in e.teams.values():