summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoasme <soasme@gmail.com>2014-05-04 14:49:49 +0800
committersoasme <soasme@gmail.com>2014-05-04 22:00:43 +0800
commit4fd6891381f86bb396c022dded358822378a9551 (patch)
treebce7654533b6be0feeac2095659d03a9d4f944d5
parentb7accee4e5459f1cc249364fcba8c7eb2b0b05da (diff)
downloadwebtest-4fd6891381f86bb396c022dded358822378a9551.tar.gz
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