mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-06 00:38:57 -04:00
Remove spurious "SynapseRequest" result from `make_request"
This was never used, so let's get rid of it.
This commit is contained in:
parent
ac2acf1524
commit
394516ad1b
59 changed files with 742 additions and 983 deletions
|
@ -43,9 +43,7 @@ class IdentityTestCase(unittest.HomeserverTestCase):
|
|||
self.register_user("kermit", "monkey")
|
||||
tok = self.login("kermit", "monkey")
|
||||
|
||||
request, channel = self.make_request(
|
||||
b"POST", "/createRoom", b"{}", access_token=tok
|
||||
)
|
||||
channel = self.make_request(b"POST", "/createRoom", b"{}", access_token=tok)
|
||||
self.assertEquals(channel.result["code"], b"200", channel.result)
|
||||
room_id = channel.json_body["room_id"]
|
||||
|
||||
|
@ -56,7 +54,7 @@ class IdentityTestCase(unittest.HomeserverTestCase):
|
|||
}
|
||||
request_data = json.dumps(params)
|
||||
request_url = ("/rooms/%s/invite" % (room_id)).encode("ascii")
|
||||
request, channel = self.make_request(
|
||||
channel = self.make_request(
|
||||
b"POST", request_url, request_data, access_token=tok
|
||||
)
|
||||
self.assertEquals(channel.result["code"], b"403", channel.result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue