summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2013-02-21 20:17:04 +0100
committerDomen Kožar <domen@dev.si>2013-02-21 20:18:12 +0100
commit803ca78a1db684993ca3c165dbb9f48605ff9f8d (patch)
treedeeeb3fd2e36604a18806d8778f28d082af6f438 /docs
parentf5b2ec321ebe69629d21c55ae531f09fb7201da3 (diff)
downloadwebtest-803ca78a1db684993ca3c165dbb9f48605ff9f8d.tar.gz
garden
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 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