diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-14 09:52:20 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-14 09:55:16 +0100 |
commit | 9f863d34663a4d58cf59cd15e0b0aa4a8e8581a5 (patch) | |
tree | 9a5058698cf4a43b1257596a82c622dca30cdbc1 /tests/rest/test_profile.py | |
parent | grammar fix (diff) | |
download | synapse-9f863d34663a4d58cf59cd15e0b0aa4a8e8581a5.tar.xz |
Start phasing out HttpServer: we should be using Resources instead. Added resource_for_client/federation/web_client to the HomeServer and hooked the C-S servlets to operate on resource_for_client. Dynamically construct the Resource tree.
Diffstat (limited to 'tests/rest/test_profile.py')
-rw-r--r-- | tests/rest/test_profile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rest/test_profile.py b/tests/rest/test_profile.py index 46e6137775..975d32f64d 100644 --- a/tests/rest/test_profile.py +++ b/tests/rest/test_profile.py @@ -44,6 +44,7 @@ class ProfileTestCase(unittest.TestCase): db_pool=None, http_client=None, http_server=self.mock_server, + resource_for_client=self.mock_server, federation=Mock(), replication_layer=Mock(), ) |