l.c.t.test_doc : module documentation

Part of lp.code.tests

Run the doctests and pagetests.
Function branchscannerSetUp Setup the user for the branch scanner tests.
Function zopelessLaunchpadSecuritySetUp Set up a LaunchpadZopelessLayer test to use LaunchpadSecurityPolicy.
Function zopelessLaunchpadSecurityTearDown Undocumented
Function test_suite Undocumented
def branchscannerSetUp(test):
Setup the user for the branch scanner tests.
def zopelessLaunchpadSecuritySetUp(test):
Set up a LaunchpadZopelessLayer test to use LaunchpadSecurityPolicy.

To be able to use switch_dbuser in a test, we need to run in the Zopeless environment. The Zopeless environment normally runs using the LaunchpadPermissiveSecurityPolicy. If we want the test to cover functionality used in the webapp, it needs to use the LaunchpadSecurityPolicy.

def zopelessLaunchpadSecurityTearDown(test):
Undocumented
def test_suite():
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.