summaryrefslogtreecommitdiff
path: root/paste/fixture.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-11-02 17:28:09 +0000
committerianb <devnull@localhost>2006-11-02 17:28:09 +0000
commitd023f2e352f6cc8f086e646cf693fedd770c70d5 (patch)
tree4fb41e602221c18b8d4bcc6c15bd574c42a31347 /paste/fixture.py
parentc4ecb8f2d85e398951d20d9a05a98a3b57b20a9f (diff)
downloadpaste-d023f2e352f6cc8f086e646cf693fedd770c70d5.tar.gz
fix #127: paste.fixture doesn't correctly handle empty action
Diffstat (limited to 'paste/fixture.py')
-rw-r--r--paste/fixture.py2
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)'