summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorBrendan Abolivier <contact@brendanabolivier.com>2019-04-04 17:25:47 +0100
committerGitHub <noreply@github.com>2019-04-04 17:25:47 +0100
commit8e85493b0cdae25dd07c94c010dbf11bca947c2d (patch)
treeb29f75868cf26a0de6005f28d700d82e738cfacc /tests/unittest.py
parentClean up the database pagination code (#5007) (diff)
downloadsynapse-8e85493b0cdae25dd07c94c010dbf11bca947c2d.tar.xz
Add config option to block users from looking up 3PIDs (#5010)
Diffstat (limited to 'tests/unittest.py')
-rw-r--r--tests/unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py
index 27403de908..8c65736a51 100644
--- a/tests/unittest.py
+++ b/tests/unittest.py
@@ -410,7 +410,7 @@ class HomeserverTestCase(TestCase):
             "POST", "/_matrix/client/r0/login", json.dumps(body).encode('utf8')
         )
         self.render(request)
-        self.assertEqual(channel.code, 200)
+        self.assertEqual(channel.code, 200, channel.result)
 
         access_token = channel.json_body["access_token"]
         return access_token