aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/storage')
-rw-r--r--libbe/storage/http.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbe/storage/http.py b/libbe/storage/http.py
index fe5bbc8..ee589a2 100644
--- a/libbe/storage/http.py
+++ b/libbe/storage/http.py
@@ -358,6 +358,7 @@ if TESTING == True:
# duplicated from libbe.command.serve.WSGITestCase
self.default_environ = {
'REQUEST_METHOD': 'GET', # 'POST', 'HEAD'
+ 'REMOTE_ADDR': '192.168.0.123',
'SCRIPT_NAME':'',
'PATH_INFO': '',
#'QUERY_STRING':'', # may be empty or absent