diff options
author | soasme <soasme@gmail.com> | 2014-05-04 14:49:49 +0800 |
---|---|---|
committer | soasme <soasme@gmail.com> | 2014-05-04 22:00:43 +0800 |
commit | 4fd6891381f86bb396c022dded358822378a9551 (patch) | |
tree | bce7654533b6be0feeac2095659d03a9d4f944d5 | |
parent | b7accee4e5459f1cc249364fcba8c7eb2b0b05da (diff) | |
download | webtest-4fd6891381f86bb396c022dded358822378a9551.tar.gz |
Call method as described in documentation.
-rw-r--r-- | webtest/app.py | 2 |
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 |