Home | Trees | Indices | Help |
|
---|
|
TurboGears Test Utilities.
Classes | |
TGTest A WebTest enabled unit testing class. |
|
BrowsingSession | |
DummySession A very simple dummy session. |
|
DBTestSO | |
DBTestSA | |
DBTest |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
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. |
Start the server if it's not already started. Use tg_only=False to run the CherryPy engine as well. |
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. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 19 17:20:01 2019 | http://epydoc.sourceforge.net |