summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-01 17:55:11 +0100
committerErik Johnston <erik@matrix.org>2019-07-02 12:09:04 +0100
commit8ee69f299cb3360de5c88f0c6b07525d35247fbd (patch)
tree5154b94b34b13fbe6aa871cd6b6854f9c5345f61 /tests/unittest.py
parentfix async/await consentresource (#5585) (diff)
downloadsynapse-8ee69f299cb3360de5c88f0c6b07525d35247fbd.tar.xz
Add basic function to get all data for a user out of synapse
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 d26804b5b5..684d5cb1cf 100644
--- a/tests/unittest.py
+++ b/tests/unittest.py
@@ -443,7 +443,7 @@ class HomeserverTestCase(TestCase):
             "POST", "/_matrix/client/r0/admin/register", body.encode("utf8")
         )
         self.render(request)
-        self.assertEqual(channel.code, 200)
+        self.assertEqual(channel.code, 200, channel.json_body)
 
         user_id = channel.json_body["user_id"]
         return user_id