summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGael Pasgrimaud <gael@gawel.org>2013-02-21 20:26:37 +0100
committerGael Pasgrimaud <gael@gawel.org>2013-02-21 20:26:37 +0100
commit7484f0d8ea4eada9b8ce7b887eefc59b44a939cd (patch)
treecea0efc46db707873f7d96c7182f9ac4f801fd58 /docs
parent1af770d38325a591eef96a3a46851ea9c4937d99 (diff)
parent803ca78a1db684993ca3c165dbb9f48605ff9f8d (diff)
downloadwebtest-7484f0d8ea4eada9b8ce7b887eefc59b44a939cd.tar.gz
Merge branch 'master' of github.com:Pylons/webtest
Diffstat (limited to 'docs')
-rw-r--r--docs/json.txt2
-rw-r--r--docs/webtest.txt2
2 files changed, 3 insertions, 1 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 b40c0de..787f448 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