summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/json.txt2
-rw-r--r--docs/webtest.txt2
-rw-r--r--webtest/app.py3
3 files changed, 5 insertions, 2 deletions
diff --git a/docs/json.txt b/docs/json.txt
index 6263713..5c14638 100644
--- a/docs/json.txt
+++ b/docs/json.txt
@@ -60,6 +60,8 @@ PATCH
GET
===
+To just parse body of the response, use Response.json:
+
.. code-block:: python
>>> resp = app.get('/resource/1/')
diff --git a/docs/webtest.txt b/docs/webtest.txt
index 5a2b86f..7173aa8 100644
--- a/docs/webtest.txt
+++ b/docs/webtest.txt
@@ -84,7 +84,7 @@ To indicate another status is expected, use the keyword argument
If you expect errors to be printed, use ``expect_errors=True``.
-TestApp api
+TestApp API
-----------
.. automodule:: webtest
diff --git a/webtest/app.py b/webtest/app.py
index fa58318..443443b 100644
--- a/webtest/app.py
+++ b/webtest/app.py
@@ -55,7 +55,8 @@ class RequestCookieAdapter(object):
return True # sure? Why not?
@property
- def unverifiable(self):
+ def unverifiable(self): # NOQA
+ # This is undocumented method that Python 3 cookielib uses
return True
def get_full_url(self):