This commit is contained in:
Brendan Abolivier 2019-07-08 17:44:20 +01:00
parent 5e01e9ac19
commit 73cb716b3c
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -323,7 +323,7 @@ class OwnProfileUnrestrictedTestCase(unittest.HomeserverTestCase):
request, channel = self.make_request(
"GET",
"/profile/" + self.requester + "/displayname",
access_token=self.requester_tok
access_token=self.requester_tok,
)
self.render(request)
self.assertEqual(channel.code, 200, channel.result)
@ -331,7 +331,7 @@ class OwnProfileUnrestrictedTestCase(unittest.HomeserverTestCase):
request, channel = self.make_request(
"GET",
"/profile/" + self.requester + "/avatar_url",
access_token=self.requester_tok
access_token=self.requester_tok,
)
self.render(request)
self.assertEqual(channel.code, 200, channel.result)