Module n.testutil

Part of nevow View Source

No module docstring
Line # Kind Name Docs
26 Class FakeChannel Undocumented
31 Class FakeSite Undocumented
35 Class FakeSession Undocumented
48 Class FakeRequest No class docstring; 7/19 methods documented
183 Class TestCase Undocumented
217 Function mktemp Undocumented
223 Class AccumulatingFakeRequest I am a fake IRequest that stores data written out in an instance variable.
248 Class FragmentWrapper I wrap myself around an Athena fragment, providing a minimal amount of html
267 Function renderLivePage Render the given LivePage resource, performing LivePage-specific cleanup.
277 Function renderPage Render the given resource. Return a Deferred which fires when it has
295 Class NotSupported Raised by JavaScriptTestCase if the installation lacks a certain
303 Class TestProtocolLineReceiverServer Subunit protocol which is also a Twisted LineReceiver so that it
323 Class JavaScriptTestCase No class docstring; 3/5 methods documented
438 Function setJavascriptInterpreterOrSkip If we're unable to find a javascript interpreter (currently we only look
def mktemp(self): (source)
Undocumented
def renderLivePage(res, topLevelContext=context.WebContext, reqFactory=AccumulatingFakeRequest): (source)
Render the given LivePage resource, performing LivePage-specific cleanup. Return a Deferred which fires when it has rendered.
def renderPage(res, topLevelContext=context.WebContext, reqFactory=AccumulatingFakeRequest): (source)
Render the given resource. Return a Deferred which fires when it has rendered.
def setJavascriptInterpreterOrSkip(testCase): (source)
If we're unable to find a javascript interpreter (currently we only look for smjs or js) then set the skip attribute on testCase. Otherwise assign the path to the interpreter executable to testCase.javascriptInterpreter
API Documentation for Nevow, generated by pydoctor.