| Home | Trees | Indices | Help |
|
|---|
|
|
Helpers for trial-based tests, in particular retrieving pages.
| Classes | |
| FakeFieldStorage | |
|
FakeRequest A Request for testing purpuses. |
|
|
RenderTest a base class for tests of twisted web resources. |
|
| ArchiveTest | |
| Functions | |||
|
|||
|
|||
|
|||
|
|||
| Variables | |
__package__ =
|
|
| Function Details |
runs a query on a page. The query should look like it's coming from localhost. The thing returns a deferred firing a pair of the result (a string) and the request (from which you can glean headers and such). |
|
makes ddId from rdName and returns a cleanup function. This is for creating temporary data for tests; it's supposed to be used as in:
atexit.register(provideRDData("test", "import_fitsprod"))
This keeps track of (rdName, ddId) pairs it's already loaded and doesn't import them again. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |