c.t.l.ZopelessDatabaseLayer(ZopelessLayer, DatabaseLayer) : class documentation

Part of canonical.testing.layers View In Hierarchy

Testing layer for unit tests with no need for librarian.

Can be used wherever you're accustomed to using LaunchpadZopeless or LaunchpadScript layers, but there is no need for librarian.

Class Method setUp Undocumented
Class Method tearDown Undocumented
Class Method testSetUp Undocumented
Class Method testTearDown Undocumented
Class Method switchDbConfig Undocumented

Inherited from BaseLayer (via ZopelessLayer):

Class Method check Check that the environment is working as expected.
Class Method flagTestIsolationFailure Handle a breakdown in test isolation.
Class Method getCurrentTestResult Return the TestResult currently in play.
Class Method getCurrentTestCase Return the test currently in play.

Inherited from DatabaseLayer:

Class Method installMockDb Undocumented
Class Method uninstallMockDb Undocumented
Class Method force_dirty_database Undocumented
Class Method connect Undocumented
Class Method _dropDb Undocumented

Inherited from BaseLayer (via DatabaseLayer):

Class Method check Check that the environment is working as expected.
Class Method flagTestIsolationFailure Handle a breakdown in test isolation.
Class Method getCurrentTestResult Return the TestResult currently in play.
Class Method getCurrentTestCase Return the test currently in play.
@classmethod
@profiled
def setUp(cls):
Undocumented
@classmethod
@profiled
def tearDown(cls):
Undocumented
@classmethod
@profiled
def testSetUp(cls):
Undocumented
@classmethod
@profiled
def testTearDown(cls):
Undocumented
@classmethod
@profiled
def switchDbConfig(cls, database_config_section):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.