diff options
author | ianb <devnull@localhost> | 2006-06-04 20:17:24 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-06-04 20:17:24 +0000 |
commit | d5fe8730755b970608e0fbb3ecd3d148dc47a9ec (patch) | |
tree | 36a70d4fe4aef9e34b27a9400a87ecb7727b5227 /paste/fixture.py | |
parent | 5b02061b69a69cbe10ff6cb717d0f49d50269af7 (diff) | |
download | paste-d5fe8730755b970608e0fbb3ecd3d148dc47a9ec.tar.gz |
Handle case with testapp.post(params={})
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 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) |