Home | Trees | Indices | Help |
|
---|
|
Classes | |
MemoryListHandler | |
TGTest A WebTest enabled unit testing class. |
|
BrowsingSession | |
DummySession A very simple dummy session. |
|
DummyRequest A very simple dummy request. |
|
DummyResponse A very simple dummy response. |
|
AbstractDBTest A database enabled unit testing class. |
|
DBTestSO | |
DBTestSA | |
DBTest |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
Cookie | |
StringIO | |
os | |
types | |
logging | |
string | |
unittest | |
cherrypy | |
Request | |
Response | |
TestApp | |
InheritableSQLObject | |
sqlobject = None hash(x) |
|
sqlalchemy = None hash(x) |
|
config | |
controllers | |
database | |
startup | |
update_config | |
validators | |
current_provider | |
get_model | |
deprecated | |
modulename = None hash(x) |
|
warnings | |
start_cp = deprecated('start_cp is superceded by start_server'
|
|
reset_cp = deprecated('reset_cp has been superceded by unmount
|
|
test_user = None hash(x) |
Function Details |
Mount a controller at a path. Returns a wsgi application. |
Return a WebTest.TestApp instance from CherryPy. If a Controller object is provided, it will be mounted at the root level. If not, it'll look for an already mounted root. |
Stop the server and unmount the application. Use tg_only=True to leave CherryPy running (for faster tests). |
Capture log for one category. The category can either be a single category (a string like 'foo.bar') or a list of them. You *must* call print_log() to reset when you're done. |
Print the log captured by capture_log to stdout. Resets that log and resets the temporarily added handlers. |
Return the list of log messages captured by capture_log. Resets that log and resets the temporarily added handlers. |
Setup a user for configuring request's identity.
|
|
|
|
|
More fine-grained version of call method. This allows using request/response.
|
Variables Details |
start_cp
|
reset_cp
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 19 17:17:55 2019 | http://epydoc.sourceforge.net |