summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorianb <devnull@localhost>2008-11-04 16:40:16 +0000
committerianb <devnull@localhost>2008-11-04 16:40:16 +0000
commit25a89a6f22b5f6f5c18f4c52929888044f6eabd8 (patch)
tree8baea55b584907505112f2bd2c549a094199778e
parent7876cbf36f71c3312dbf7778b993982cc67b5fb6 (diff)
downloadwebtest-25a89a6f22b5f6f5c18f4c52929888044f6eabd8.tar.gz
fix .delete()
-rw-r--r--docs/index.txt5
-rw-r--r--webtest/__init__.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/index.txt b/docs/index.txt
index 2c86916..4036d81 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -358,6 +358,11 @@ template_name`` in your framework, then ``response.template`` will be
News
====
+svn trunk
+---------
+
+* Fixed exception in the ``.delete`` method.
+
1.0.2
-----
diff --git a/webtest/__init__.py b/webtest/__init__.py
index a49e8e2..e3dbb37 100644
--- a/webtest/__init__.py
+++ b/webtest/__init__.py
@@ -222,7 +222,7 @@ class TestApp(object):
Returns a ``webob.Response`` object.
"""
- return self._gen_request('DELETE', url, params=params, headers=headers,
+ return self._gen_request('DELETE', url, headers=headers,
extra_environ=extra_environ,status=status,
upload_files=None, expect_errors=expect_errors)