summary refs log tree commit diff
path: root/tests/rest/client/test_identity.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-16 15:45:40 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-16 15:45:40 +0100
commitec2cab331d9899534e303a4c2e58d9fce4b57813 (patch)
tree35c23ab6aee3cb884c4b90d2764f0a8011cc0a79 /tests/rest/client/test_identity.py
parentMerge commit '8388a7fb3' into anoa/dinsic_release_1_31_0 (diff)
parentConvert internal pusher dicts to attrs classes. (#8940) (diff)
downloadsynapse-ec2cab331d9899534e303a4c2e58d9fce4b57813.tar.xz
Merge commit 'bd30cfe86' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'tests/rest/client/test_identity.py')
-rw-r--r--tests/rest/client/test_identity.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/rest/client/test_identity.py b/tests/rest/client/test_identity.py

index aa094c3543..3fdb78d63d 100644 --- a/tests/rest/client/test_identity.py +++ b/tests/rest/client/test_identity.py
@@ -125,9 +125,7 @@ class IdentityEnabledTestCase(unittest.HomeserverTestCase): self.tok = self.login("kermit", "monkey") def test_3pid_invite_enabled(self): - request, channel = self.make_request( - b"POST", "/createRoom", b"{}", access_token=self.tok - ) + channel = self.make_request(b"POST", "/createRoom", b"{}", access_token=self.tok) self.assertEquals(channel.result["code"], b"200", channel.result) room_id = channel.json_body["room_id"] @@ -138,7 +136,7 @@ class IdentityEnabledTestCase(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=self.tok )