summary refs log tree commit diff
path: root/tests/test_server.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-08-18 08:49:59 -0400
committerGitHub <noreply@github.com>2020-08-18 08:49:59 -0400
commit2f4d60a5ba9ec60ab4f3384cbef20fe662b4349b (patch)
treefb145388813f7cc1ab3b59e95ebdf8af423d1eaa /tests/test_server.py
parentReturn the previous stream token if a non-member event is a duplicate. (#8093) (diff)
downloadsynapse-2f4d60a5ba9ec60ab4f3384cbef20fe662b4349b.tar.xz
Iteratively encode JSON responses to avoid blocking the reactor. (#8013)
Diffstat (limited to 'tests/test_server.py')
-rw-r--r--tests/test_server.py1
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):