summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2013-03-02 17:00:33 +0100
committerDomen Kožar <domen@dev.si>2013-03-02 17:00:33 +0100
commitecbdd73bd50f44ce2e33fedb66a0dd80a6a1d171 (patch)
tree757d2f356c6d46e5e8ac96e951a0e69c7d173091
parenta853118ef0ced583334451c9b544f769e9b74c1a (diff)
downloadwebtest-ecbdd73bd50f44ce2e33fedb66a0dd80a6a1d171.tar.gz
correct api method links
-rw-r--r--webtest/response.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/webtest/response.py b/webtest/response.py
index 6f2accb..760b997 100644
--- a/webtest/response.py
+++ b/webtest/response.py
@@ -23,7 +23,7 @@ import webob
class TestResponse(webob.Response):
"""
Instances of this class are returned by
- :class:`~webtest.TestApp` methods.
+ :class:`~webtest.app.TestApp` methods.
"""
request = None
@@ -83,7 +83,7 @@ class TestResponse(webob.Response):
"""
If this response is a redirect, follow that redirect. It is an
error if it is not a redirect response. Any keyword
- arguments are passed to :class:`webtest.TestApp.get`. Returns
+ arguments are passed to :class:`webtest.app.TestApp.get`. Returns
another :class:`TestResponse` object.
"""
assert self.status_int >= 300 and self.status_int < 400, (
@@ -144,7 +144,7 @@ class TestResponse(webob.Response):
def clickbutton(self, description=None, buttonid=None, href=None,
index=None, verbose=False):
"""
- Like :meth:`~webtest.TestResponse.click`, except looks
+ Like :meth:`~webtest.response.TestResponse.click`, except looks
for link-like buttons.
This kind of button should look like
``<button onclick="...location.href='url'...">``.
@@ -230,8 +230,8 @@ class TestResponse(webob.Response):
"""
Go to the (potentially relative) link ``href``, using the
given method (``'get'`` or ``'post'``) and any extra arguments
- you want to pass to the :meth:`webtest.TestApp.get` or
- :meth:`webtest.TestApp.post` methods.
+ you want to pass to the :meth:`webtest.app.TestApp.get` or
+ :meth:`webtest.app.TestApp.post` methods.
All hostnames and schemes will be ignored.
"""