diff options
author | Erik Johnston <erik@matrix.org> | 2020-01-20 17:38:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-20 17:38:09 +0000 |
commit | 74b74462f1c8b2db9b0995cbf64d879cbfce0dc4 (patch) | |
tree | 84a49a49831b4b80ff6a5d50e70901cff21eaa46 /tests/unittest.py | |
parent | Fixup synapse.api to pass mypy (#6733) (diff) | |
download | synapse-74b74462f1c8b2db9b0995cbf64d879cbfce0dc4.tar.xz |
Fix `/events/:event_id` deprecated API. (#6731)
Diffstat (limited to 'tests/unittest.py')
-rw-r--r-- | tests/unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py index ddcd4becfe..b56e249386 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -463,7 +463,7 @@ class HomeserverTestCase(TestCase): # Create the user request, channel = self.make_request("GET", "/_matrix/client/r0/admin/register") self.render(request) - self.assertEqual(channel.code, 200) + self.assertEqual(channel.code, 200, msg=channel.result) nonce = channel.json_body["nonce"] want_mac = hmac.new(key=b"shared", digestmod=hashlib.sha1) |