diff options
author | ianb <devnull@localhost> | 2006-11-02 17:28:09 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-11-02 17:28:09 +0000 |
commit | d023f2e352f6cc8f086e646cf693fedd770c70d5 (patch) | |
tree | 4fb41e602221c18b8d4bcc6c15bd574c42a31347 /paste/fixture.py | |
parent | c4ecb8f2d85e398951d20d9a05a98a3b57b20a9f (diff) | |
download | paste-d023f2e352f6cc8f086e646cf693fedd770c70d5.tar.gz |
fix #127: paste.fixture doesn't correctly handle empty action
Diffstat (limited to 'paste/fixture.py')
-rw-r--r-- | paste/fixture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/fixture.py b/paste/fixture.py index 5a49f41..7e2d4a7 100644 --- a/paste/fixture.py +++ b/paste/fixture.py @@ -687,7 +687,7 @@ class TestResponse(object): # We scheme = host = fragment = '' href = urlparse.urlunsplit((scheme, host, path, query, fragment)) - href = urlparse.urljoin(self.request.url, href) + href = urlparse.urljoin(self.request.full_url, href) method = method.lower() assert method in ('get', 'post'), ( 'Only "get" or "post" are allowed for method (you gave %r)' |