summaryrefslogtreecommitdiff
path: root/paste/fixture.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-06-04 20:17:24 +0000
committerianb <devnull@localhost>2006-06-04 20:17:24 +0000
commitd5fe8730755b970608e0fbb3ecd3d148dc47a9ec (patch)
tree36a70d4fe4aef9e34b27a9400a87ecb7727b5227 /paste/fixture.py
parent5b02061b69a69cbe10ff6cb717d0f49d50269af7 (diff)
downloadpaste-d5fe8730755b970608e0fbb3ecd3d148dc47a9ec.tar.gz
Handle case with testapp.post(params={})
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 9cfebfa..ca29204 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -217,7 +217,7 @@ class TestApp(object):
extra_environ = {}
environ = self._make_environ()
# @@: Should this be all non-strings?
- if params and isinstance(params, (list, tuple, dict)):
+ if isinstance(params, (list, tuple, dict)):
params = urllib.urlencode(params)
if upload_files:
params = cgi.parse_qsl(params, keep_blank_values=True)