Fix support for Python 3.5.

pull/8320/head
Patrick Cloke 2020-09-17 13:20:21 -04:00 committed by GitHub
parent b5477657ce
commit 6c6e4b23b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -764,7 +764,7 @@ class AppserviceLoginRestServletTestCase(unittest.HomeserverTestCase):
def register_as_user(self, username):
request, channel = self.make_request(
b"POST",
f"/_matrix/client/r0/register?access_token={self.service.token}",
"/_matrix/client/r0/register?access_token=%s" % (self.service.token,),
{"username": username},
)
self.render(request)