Part of lp.testing.tests.test_zope_test_in_subprocess View In Hierarchy
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 |