mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 17:22:13 -04:00
Remove redundant HomeserverTestCase.render
This commit is contained in:
parent
be8fa65d0b
commit
acfe3b3065
44 changed files with 0 additions and 629 deletions
|
@ -72,7 +72,6 @@ class RedactionsTestCase(HomeserverTestCase):
|
|||
request, channel = self.make_request(
|
||||
"POST", path, content={}, access_token=access_token
|
||||
)
|
||||
self.render(request)
|
||||
self.assertEqual(int(channel.result["code"]), expect_code)
|
||||
return channel.json_body
|
||||
|
||||
|
@ -80,7 +79,6 @@ class RedactionsTestCase(HomeserverTestCase):
|
|||
request, channel = self.make_request(
|
||||
"GET", "sync", access_token=self.mod_access_token
|
||||
)
|
||||
self.render(request)
|
||||
self.assertEqual(channel.result["code"], b"200")
|
||||
room_sync = channel.json_body["rooms"]["join"][room_id]
|
||||
return room_sync["timeline"]["events"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue