summaryrefslogtreecommitdiff
path: root/tests/test_url.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-11-14 20:35:39 -0600
committerMichael Merickel <michael@merickel.org>2018-11-14 20:36:00 -0600
commita705f56c3ebf34f25ab567d85b7d5b421983aa4a (patch)
tree515498bb3f375807db95391b240a7df3ab247aca /tests/test_url.py
parent0b570220d9f442700eb97c5a5c4eca6ab03a1ee4 (diff)
downloadpyramid-a705f56c3ebf34f25ab567d85b7d5b421983aa4a.tar.gz
pyramid-a705f56c3ebf34f25ab567d85b7d5b421983aa4a.tar.bz2
pyramid-a705f56c3ebf34f25ab567d85b7d5b421983aa4a.zip
rely on webob for request.path_info and request.scheme
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