summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-12 17:17:29 +0100
committerErik Johnston <erik@matrix.org>2015-06-12 17:17:29 +0100
commit261ccd7f5f3dddc1c4538c2697ba00918120ddc8 (patch)
tree553962226e8b6d3482e564962b1bc3746b856f31
parentPEP8 (diff)
downloadsynapse-261ccd7f5f3dddc1c4538c2697ba00918120ddc8.tar.xz
Fix tests
Diffstat (limited to '')
-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="
         ]