diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-09-10 22:14:50 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-09-10 22:14:50 -0700 |
| commit | e89083b582f8e7f03976236ea22f604f6bddf355 (patch) | |
| tree | c4ed6a996ee292bcbbb43f10d101d1cb3effbdb3 /webtest/response.py | |
| parent | 9d38c9f90acf60541774aa337a0d52d32b9a4a19 (diff) | |
| download | webtest-e89083b582f8e7f03976236ea22f604f6bddf355.tar.gz | |
more linkcheck and intersphinx fixes
Diffstat (limited to 'webtest/response.py')
| -rw-r--r-- | webtest/response.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/webtest/response.py b/webtest/response.py index 0364d5b..4087c19 100644 --- a/webtest/response.py +++ b/webtest/response.py @@ -416,7 +416,7 @@ class TestResponse(webob.Response): def html(self): """ Returns the response as a `BeautifulSoup - <http://www.crummy.com/software/BeautifulSoup/documentation.html>`_ + <https://www.crummy.com/software/BeautifulSoup/bs3/documentation.html>`_ object. Only works with HTML responses; other content-types raise @@ -432,9 +432,8 @@ class TestResponse(webob.Response): @property def xml(self): """ - Returns the response as an `ElementTree - <http://python.org/doc/current/lib/module-xml.etree.ElementTree.html>`_ - object. + Returns the response as an :mod:`ElementTree + <python:xml.etree.ElementTree>` object. Only works with XML responses; other content-types raise AttributeError @@ -461,9 +460,8 @@ class TestResponse(webob.Response): @property def lxml(self): """ - Returns the response as an `lxml object - <http://codespeak.net/lxml/>`_. You must have lxml installed - to use this. + Returns the response as an `lxml object <https://lxml.de/>`_. + You must have lxml installed to use this. If this is an HTML response and you have lxml 2.x installed, then an ``lxml.html.HTML`` object will be returned; if you @@ -505,7 +503,8 @@ class TestResponse(webob.Response): @property def pyquery(self): """ - Returns the response as a `PyQuery <http://pyquery.org/>`_ object. + Returns the response as a `PyQuery + <https://pypi.org/project/pyquery/>`_ object. Only works with HTML and XML responses; other content-types raise AttributeError. |
