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 |
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.