l.t.t.t.BaseLayerIsolator(Fixture) : class documentation

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

A fixture for isolating BaseLayer.

This is useful to test interactions with LP_PERSISTENT_TEST_SERVICES which makes tests within layers unable to test that easily.

Method __init__ Create a BaseLayerIsolator.
Method _setUp Undocumented
def __init__(self, with_persistent=False):
Create a BaseLayerIsolator.
Parameterswith_persistentIf True LP_PERSISTENT_TEST_SERVICES will be enabled during setUp.
def _setUp(self):
API Documentation for Launchpad, generated by pydoctor at 2018-05-27 00:00:04.