summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-15 10:04:02 +0100
committerGitHub <noreply@github.com>2019-07-15 10:04:02 +0100
commitd86321300a374009931ecfdaf4394411881bae29 (patch)
tree4dd4c85290505344af2ca3e1478982a2f1128977 /tests/unittest.py
parentAdd a `docker` type to the towncrier configuration (#5673) (diff)
parentFixup docstrings (diff)
downloadsynapse-d86321300a374009931ecfdaf4394411881bae29.tar.xz
Merge pull request #5589 from matrix-org/erikj/admin_exfiltrate_data
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 0f0c2ad69d..cabe787cb4 100644
--- a/tests/unittest.py
+++ b/tests/unittest.py
@@ -472,7 +472,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