Index of the webtest module
-
m
webtest
...
- Routines for testing WSGI applications.
-
C
TestApp
...
-
a
disabled
...
-
f
__init__
...
- Wraps a WSGI application in a more convenient interface for
testing.
-
f
delete
...
- Do a DELETE request. Very like the .get() method.
params are put in the body of the request.
-
f
do_request
...
- Executes the given request (req), with the expected
status. Generally .get() and .post() are used
instead.
-
f
encode_multipart
...
- Encodes a set of parameters (typically a name/value list) and
a set of files (a list of (name, filename, file_body)) into a
typical POST body, returning the (content_type, body).
-
f
get
...
- Get the given url (well, actually a path like
'/page.html').
-
f
post
...
- Do a POST request. Very like the .get() method.
params are put in the body of the request.
-
f
put
...
- Do a PUT request. Very like the .get() method.
params are put in the body of the request.
-
f
reset
...
- Resets the state of the application; currently just clears
saved cookies.