diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-18 08:49:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 08:49:59 -0400 |
commit | 2f4d60a5ba9ec60ab4f3384cbef20fe662b4349b (patch) | |
tree | fb145388813f7cc1ab3b59e95ebdf8af423d1eaa /tests/test_server.py | |
parent | Return the previous stream token if a non-member event is a duplicate. (#8093) (diff) | |
download | synapse-2f4d60a5ba9ec60ab4f3384cbef20fe662b4349b.tar.xz |
Iteratively encode JSON responses to avoid blocking the reactor. (#8013)
Diffstat (limited to '')
-rw-r--r-- | tests/test_server.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_server.py b/tests/test_server.py index d628070e48..655c918a15 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -178,7 +178,6 @@ class JsonResourceTests(unittest.TestCase): self.assertEqual(channel.result["code"], b"200") self.assertNotIn("body", channel.result) - self.assertEqual(channel.headers.getRawHeaders(b"Content-Length"), [b"15"]) class OptionsResourceTests(unittest.TestCase): |