summary refs log tree commit diff
path: root/tests/handlers/test_directory.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-10-02 13:57:48 +0100
committerMark Haines <mark.haines@matrix.org>2014-10-02 14:03:26 +0100
commit4f11518934c3e032a763f115a73261414d67f87b (patch)
tree030ed29a6bbf57f706be58bcdcde8536bfafe5d0 /tests/handlers/test_directory.py
parentMerge branch 'master' into develop (diff)
downloadsynapse-4f11518934c3e032a763f115a73261414d67f87b.tar.xz
Split PlainHttpClient into separate clients for talking to Identity servers and talking to Capatcha servers
Diffstat (limited to 'tests/handlers/test_directory.py')
-rw-r--r--tests/handlers/test_directory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_directory.py b/tests/handlers/test_directory.py

index dd5d85dde6..0c31502dd4 100644 --- a/tests/handlers/test_directory.py +++ b/tests/handlers/test_directory.py
@@ -20,7 +20,7 @@ from twisted.internet import defer from mock import Mock from synapse.server import HomeServer -from synapse.http.client import HttpClient +from synapse.http.client import MatrixHttpClient from synapse.handlers.directory import DirectoryHandler from synapse.storage.directory import RoomAliasMapping @@ -95,7 +95,7 @@ class DirectoryTestCase(unittest.TestCase): query_type="directory", args={ "room_alias": "#another:remote", - HttpClient.RETRY_DNS_LOOKUP_FAILURES: False + MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES: False } )