diff options
author | David Robertson <davidr@element.io> | 2022-08-21 22:12:11 +0100 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2022-08-21 22:12:11 +0100 |
commit | 895c09b6e4a4a25ea6ddf6c731e0c52cc0c7df3c (patch) | |
tree | a5caddfb9fc88acf898da9124f3865f55c234985 | |
parent | MSC2716v4 room version - remove namespace from MSC2716 event content fields (... (diff) | |
download | synapse-895c09b6e4a4a25ea6ddf6c731e0c52cc0c7df3c.tar.xz |
annotate writeHeaders
-rw-r--r-- | tests/server.py | 4 |
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 |