Part of canonical.launchpad.webapp.tests
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 |