From 25a89a6f22b5f6f5c18f4c52929888044f6eabd8 Mon Sep 17 00:00:00 2001 From: ianb Date: Tue, 4 Nov 2008 16:40:16 +0000 Subject: fix .delete() --- docs/index.txt | 5 +++++ webtest/__init__.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1