Add basic function to get all data for a user out of synapse

This commit is contained in:
Erik Johnston 2019-07-01 17:55:11 +01:00
parent b4914681a5
commit 8ee69f299c
4 changed files with 478 additions and 1 deletions

View file

@ -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