mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Remove redundant HomeserverTestCase.render
This commit is contained in:
parent
be8fa65d0b
commit
acfe3b3065
44 changed files with 0 additions and 629 deletions
|
@ -54,7 +54,6 @@ class TermsTestCase(unittest.HomeserverTestCase):
|
|||
# Do a UI auth request
|
||||
request_data = json.dumps({"username": "kermit", "password": "monkey"})
|
||||
request, channel = self.make_request(b"POST", self.url, request_data)
|
||||
self.render(request)
|
||||
|
||||
self.assertEquals(channel.result["code"], b"401", channel.result)
|
||||
|
||||
|
@ -98,7 +97,6 @@ class TermsTestCase(unittest.HomeserverTestCase):
|
|||
self.registration_handler.check_username = Mock(return_value=True)
|
||||
|
||||
request, channel = self.make_request(b"POST", self.url, request_data)
|
||||
self.render(request)
|
||||
|
||||
# We don't bother checking that the response is correct - we'll leave that to
|
||||
# other tests. We just want to make sure we're on the right path.
|
||||
|
@ -116,7 +114,6 @@ class TermsTestCase(unittest.HomeserverTestCase):
|
|||
}
|
||||
)
|
||||
request, channel = self.make_request(b"POST", self.url, request_data)
|
||||
self.render(request)
|
||||
|
||||
# We're interested in getting a response that looks like a successful
|
||||
# registration, not so much that the details are exactly what we want.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue