l.t.l.DatabaseFunctionalLayer(DatabaseLayer, FunctionalLayer) : class documentation

Part of lp.testing.layers View In Hierarchy

Known subclasses: lp.services.librarianserver.tests.test_db_outage.PGBouncerLibrarianLayer

Provides the database and the Zope3 application server environment.
Class Method setUp Undocumented
Class Method tearDown Undocumented
Class Method testSetUp Undocumented
Class Method testTearDown Undocumented

Inherited from DatabaseLayer:

Class Method force_dirty_database Undocumented
Class Method connect Undocumented
Class Method _dropDb Undocumented

Inherited from BaseLayer (via DatabaseLayer):

Class Method make_config Create a temporary config and link it into the layer cleanup.
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.
Class Method appserver_config Return a config suitable for AppServer tests.
Class Method appserver_root_url Return the correct app server root url for the given facet.

Inherited from BaseLayer (via FunctionalLayer):

Class Method make_config Create a temporary config and link it into the layer cleanup.
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.
Class Method appserver_config Return a config suitable for AppServer tests.
Class Method appserver_root_url Return the correct app server root url for the given facet.
@classmethod
@profiled
def setUp(cls):
Undocumented
@classmethod
@profiled
def tearDown(cls):
Undocumented
@classmethod
@profiled
def testSetUp(cls):
Undocumented
@classmethod
@profiled
def testTearDown(cls):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.