l.t.t.t.TestZopeTestInSubProcessLayer : class documentation

Part of lp.testing.tests.test_zope_test_in_subprocess View In Hierarchy

Helper to test ZopeTestInSubProcess.

Asserts that layers are set up and torn down in the expected way, namely that setUp() and tearDown() are called in the parent process, and testSetUp() and testTearDown() are called in the child process.

The assertions for tearDown() and testTearDown() must be done here because the test case runs before these methods are called. In the interests of symmetry and clarity, the assertions for setUp() and testSetUp() are done here too.

This layer expects to be instantiated, which is not the norm for Zope layers. See TestZopeTestInSubProcess for its use.

Method __init__ Undocumented
Method setUp Undocumented
Method testSetUp Undocumented
Method testTearDown Undocumented
Method tearDown Undocumented
@record_pid
def __init__(self):
Undocumented
@record_pid
def setUp(self):
Undocumented
@record_pid
def testSetUp(self):
Undocumented
@record_pid
def testTearDown(self):
Undocumented
@record_pid
def tearDown(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.