c.l.w.t.test_authorization : module documentation

Part of canonical.launchpad.webapp.tests

Tests for canonical.launchpad.webapp.authorization.
Class Checker See IAuthorization.
Class CheckerFactory Factory for Checker objects.
Class Object An arbitrary object, adaptable to IObjectPrivacy.
Class PermissionAccessLevel A minimal implementation of ILaunchpadPermission.
Class FakeAccount A minimal object to represent an account.
Class FakeLaunchpadPrincipal A minimal principal implementing ILaunchpadPrincipal
Class FakeStore Enough of a store to fool the block_implicit_flushes decorator.
Class FakeStoreSelector A store selector that always returns a FakeStore.
Class TestCheckPermissionCaching Test the caching done by LaunchpadSecurityPolicy.checkPermission.
Class TestLaunchpadSecurityPolicy_getPrincipalsAccessLevel No class docstring; 3/4 methods documented
Interface ILoneObject A marker interface for objects that only contain themselves.
Class LoneObject Undocumented
Function adapt_loneobject_to_container Adapt a LoneObject to an ILaunchpadContainer.
Class TestPrecachePermissionForObjects Test the precaching of permissions.
Function test_suite Undocumented
def adapt_loneobject_to_container(loneobj):
Adapt a LoneObject to an ILaunchpadContainer.
def test_suite():
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.