mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-11 17:44:56 -04:00
Remove redundant calls to render()
This commit is contained in:
parent
129ae841e5
commit
be8fa65d0b
13 changed files with 32 additions and 106 deletions
|
@ -320,10 +320,8 @@ class SyncTypingTests(unittest.HomeserverTestCase):
|
|||
typing._reset()
|
||||
|
||||
# Now it SHOULD fail as it never completes!
|
||||
request, channel = self.make_request(
|
||||
"GET", sync_url % (access_token, next_batch)
|
||||
)
|
||||
self.assertRaises(TimedOutException, self.render, request)
|
||||
with self.assertRaises(TimedOutException):
|
||||
self.make_request("GET", sync_url % (access_token, next_batch))
|
||||
|
||||
|
||||
class UnreadMessagesTestCase(unittest.HomeserverTestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue