l.s.m.t.t.ProcessMailLayer(LaunchpadZopelessLayer) : class documentation

Part of lp.services.mail.tests.test_doc View In Hierarchy

Layer containing the tests running inside process-mail.py.
Class Method testSetUp Fixture replicating the process-mail.py environment.
Class Method testTearDown Tear down the test fixture.

Inherited from LaunchpadZopelessLayer:

Class Method setUp Undocumented
Class Method tearDown Undocumented
Class Method commit Undocumented
Class Method abort Undocumented

Inherited from BaseLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, ZopelessLayer):

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 LaunchpadLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer):

Class Method resetSessionDb Reset the session database.

Inherited from LibrarianLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer):

Class Method hide Hide the Librarian so nothing can find it. We don't want to
Class Method reveal Reveal a hidden Librarian.
Class Method _check_and_reset Raise an exception if the Librarian has been killed, else reset.

Inherited from DatabaseLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer, LibrarianLayer):

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

Inherited from BaseLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer, LibrarianLayer, 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 MemcachedLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer):

Class Method getPidFile Undocumented
Class Method purge Purge everything from our memcached.

Inherited from BaseLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer, MemcachedLayer):

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 LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer, RabbitMQLayer):

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
def testSetUp(cls):
Fixture replicating the process-mail.py environment.

This zopeless script uses the regular security policy and connects as a specific DB user.

@classmethod
def testTearDown(cls):
Tear down the test fixture.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.