summaryrefslogtreecommitdiff
path: root/tests/test_url.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_url.py')
-rw-r--r--tests/test_url.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_url.py b/tests/test_url.py
index 94a0a61c9..a852f3301 100644
--- a/tests/test_url.py
+++ b/tests/test_url.py
@@ -25,6 +25,7 @@ class TestURLMethodsMixin(unittest.TestCase):
def __init__(self, environ):
self.environ = environ
+ self.scheme = environ.get('wsgi.url_scheme', 'http')
request = Request(environ)
request.registry = self.config.registry