summary refs log tree commit diff
path: root/tests/rest/client/test_identity.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-05-09 13:01:40 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-05-09 13:01:40 +0100
commit532ba44add046f0d25b3f36438ae45ea2ebae869 (patch)
treee83aa3db1782549aa8938718f3391b9c749206e1 /tests/rest/client/test_identity.py
parentCheck if Synapse should check given ISs (diff)
downloadsynapse-532ba44add046f0d25b3f36438ae45ea2ebae869.tar.xz
Fix test
Diffstat (limited to 'tests/rest/client/test_identity.py')
-rw-r--r--tests/rest/client/test_identity.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rest/client/test_identity.py b/tests/rest/client/test_identity.py

index ed149f3600..7edcfa8f67 100644 --- a/tests/rest/client/test_identity.py +++ b/tests/rest/client/test_identity.py
@@ -38,6 +38,10 @@ class IdentityDisabledTestCase(unittest.HomeserverTestCase): config = self.default_config() config.enable_3pid_lookup = False + config.trusted_third_party_id_servers = [ + "testis" + ] + self.hs = self.setup_test_homeserver(config=config) return self.hs @@ -112,6 +116,9 @@ class IdentityEnabledTestCase(unittest.HomeserverTestCase): config = self.default_config() config.enable_3pid_lookup = True + config.trusted_third_party_id_servers = [ + "testis" + ] mock_http_client = Mock(spec=[ "get_json",