General helpers for twisted.web unit tests.

Class FlattenTestCase A test case that assists with testing twisted.web._flatten.
Function assertIsFilesystemTemporary Assert that fileObj is a temporary file on the filesystem.
Function _render Undocumented
def _render(resource, request):
Undocumented
def assertIsFilesystemTemporary(case, fileObj):

Assert that fileObj is a temporary file on the filesystem.

ParameterscaseA TestCase instance to use to make the assertion.
Raisescase.failureException if fileObj is not a temporary file on the filesystem.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.