diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-11-15 22:58:47 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-11-16 18:24:08 +0000 |
commit | acfe3b3065bf134e01439e24753bb8bb2ad9e1c2 (patch) | |
tree | 11561b330b3710a2fd5a1455a17a27b4d0815fb9 /tests/handlers/test_user_directory.py | |
parent | Remove redundant calls to `render()` (diff) | |
download | synapse-acfe3b3065bf134e01439e24753bb8bb2ad9e1c2.tar.xz |
Remove redundant `HomeserverTestCase.render`
Diffstat (limited to 'tests/handlers/test_user_directory.py')
-rw-r--r-- | tests/handlers/test_user_directory.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/handlers/test_user_directory.py b/tests/handlers/test_user_directory.py index 87be94111f..98e5af2072 100644 --- a/tests/handlers/test_user_directory.py +++ b/tests/handlers/test_user_directory.py @@ -537,7 +537,6 @@ class TestUserDirSearchDisabled(unittest.HomeserverTestCase): request, channel = self.make_request( "POST", b"user_directory/search", b'{"search_term":"user2"}' ) - self.render(request) self.assertEquals(200, channel.code, channel.result) self.assertTrue(len(channel.json_body["results"]) > 0) @@ -546,6 +545,5 @@ class TestUserDirSearchDisabled(unittest.HomeserverTestCase): request, channel = self.make_request( "POST", b"user_directory/search", b'{"search_term":"user2"}' ) - self.render(request) self.assertEquals(200, channel.code, channel.result) self.assertTrue(len(channel.json_body["results"]) == 0) |