summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-12-15 14:54:41 +0000
committerRichard van der Hoff <richard@matrix.org>2020-12-15 22:35:03 +0000
commit5bcf6e8289b075ef298510faae12041811bbd344 (patch)
treeb31aeb25836cf66ec29d3d0d8ee116a6339f8efc
parentremove 'response' result from `_get_shared_rooms` (diff)
downloadsynapse-5bcf6e8289b075ef298510faae12041811bbd344.tar.xz
Skip redundant check on `request.args`
-rw-r--r--tests/test_server.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_server.py b/tests/test_server.py
index 6b2d2f0401..0be8c7e2fc 100644
--- a/tests/test_server.py
+++ b/tests/test_server.py
@@ -64,11 +64,10 @@ class JsonResourceTests(unittest.TestCase):
             "test_servlet",
         )
 
-        request, channel = make_request(
+        make_request(
             self.reactor, FakeSite(res), b"GET", b"/_matrix/foo/%E2%98%83?a=%E2%98%83"
         )
 
-        self.assertEqual(request.args, {b"a": ["\N{SNOWMAN}".encode("utf8")]})
         self.assertEqual(got_kwargs, {"room_id": "\N{SNOWMAN}"})
 
     def test_callback_direct_exception(self):