summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-08-21 22:12:11 +0100
committerDavid Robertson <davidr@element.io>2022-08-21 22:12:11 +0100
commit895c09b6e4a4a25ea6ddf6c731e0c52cc0c7df3c (patch)
treea5caddfb9fc88acf898da9124f3865f55c234985
parentMSC2716v4 room version - remove namespace from MSC2716 event content fields (... (diff)
downloadsynapse-895c09b6e4a4a25ea6ddf6c731e0c52cc0c7df3c.tar.xz
annotate writeHeaders
-rw-r--r--tests/server.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/server.py b/tests/server.py
index c447d5e4c4..d2eeee4d9f 100644
--- a/tests/server.py
+++ b/tests/server.py
@@ -165,7 +165,9 @@ class FakeChannel:
             h.addRawHeader(*i)
         return h
 
-    def writeHeaders(self, version, code, reason, headers):
+    def writeHeaders(
+        self, version: bytes, code: bytes, reason: bytes, headers: Headers
+    ) -> None:
         self.result["version"] = version
         self.result["code"] = code
         self.result["reason"] = reason