diff options
| author | Michael Merickel <michael@merickel.org> | 2018-11-14 20:35:39 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-11-14 20:36:00 -0600 |
| commit | a705f56c3ebf34f25ab567d85b7d5b421983aa4a (patch) | |
| tree | 515498bb3f375807db95391b240a7df3ab247aca /tests/test_url.py | |
| parent | 0b570220d9f442700eb97c5a5c4eca6ab03a1ee4 (diff) | |
| download | pyramid-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.py | 1 |
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 |
