summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-15 18:05:58 +0100
committerErik Johnston <erik@matrix.org>2015-06-15 18:05:58 +0100
commitbc42ca121f2fe6e58c65f1c728cf78f9d9823dfa (patch)
tree11897d4024d321800c24b105b57665d8db806f36 /tests/utils.py
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
parentRemove redundant newline (diff)
downloadsynapse-bc42ca121f2fe6e58c65f1c728cf78f9d9823dfa.tar.xz
Merge pull request #185 from matrix-org/erikj/listeners_config
Change listener config.
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 3b5c335911..eb035cf48f 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -114,6 +114,8 @@ class MockHttpResource(HttpServer):
         mock_request.method = http_method
         mock_request.uri = path
 
+        mock_request.getClientIP.return_value = "-"
+
         mock_request.requestHeaders.getRawHeaders.return_value=[
             "X-Matrix origin=test,key=,sig="
         ]