summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGael Pasgrimaud <gael@gawel.org>2014-05-05 09:28:29 +0200
committerGael Pasgrimaud <gael@gawel.org>2014-05-05 09:28:29 +0200
commite32b98660aebf50be0d2ce10eaadd4447e4fbbe8 (patch)
treebce7654533b6be0feeac2095659d03a9d4f944d5
parentb7accee4e5459f1cc249364fcba8c7eb2b0b05da (diff)
parent4fd6891381f86bb396c022dded358822378a9551 (diff)
downloadwebtest-e32b98660aebf50be0d2ce10eaadd4447e4fbbe8.tar.gz
Merge pull request #112 from soasme/simplify_do_request
Call method as described in documentation.
-rw-r--r--webtest/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webtest/app.py b/webtest/app.py
index b57814a..11edcdb 100644
--- a/webtest/app.py
+++ b/webtest/app.py
@@ -530,7 +530,7 @@ class TestApp(object):
expect_errors=expect_errors,
)
- def do_request(self, req, status, expect_errors):
+ def do_request(self, req, status=None, expect_errors=None):
"""
Executes the given webob Request (``req``), with the expected
``status``. Generally :meth:`~webtest.TestApp.get` and