mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-10 09:30:04 -04:00
Make make_request
actually render the request
remove the stubbing out of `request.process`, so that `requestReceived` also renders the request via the appropriate resource. Replace render() with a stub for now.
This commit is contained in:
parent
1f41422c98
commit
129ae841e5
9 changed files with 57 additions and 68 deletions
|
@ -263,8 +263,6 @@ class PasswordResetTestCase(unittest.HomeserverTestCase):
|
|||
path,
|
||||
shorthand=False,
|
||||
)
|
||||
request.render(self.submit_token_resource)
|
||||
self.pump()
|
||||
|
||||
self.assertEquals(200, channel.code, channel.result)
|
||||
|
||||
|
@ -288,8 +286,6 @@ class PasswordResetTestCase(unittest.HomeserverTestCase):
|
|||
shorthand=False,
|
||||
content_is_form=True,
|
||||
)
|
||||
request.render(self.submit_token_resource)
|
||||
self.pump()
|
||||
self.assertEquals(200, channel.code, channel.result)
|
||||
|
||||
def _get_link_from_email(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue