c.l.w.t.t.Checker(AuthorizationBase) : class documentation

Part of canonical.launchpad.webapp.tests.test_authorization View In Hierarchy

See IAuthorization.

Instances of this class record calls made to IAuthorization methods.

Method __init__ Undocumented
Method checkUnauthenticated See IAuthorization.checkUnauthenticated.
Method checkAccountAuthenticated See IAuthorization.checkAccountAuthenticated.

Inherited from AuthorizationBase:

Method checkAuthenticated Return True if the given person has the given permission.
def __init__(self, obj, calls):
Undocumented
def checkUnauthenticated(self):
See IAuthorization.checkUnauthenticated.

We record the call and then return False, arbitrarily chosen, to keep the policy from complaining.

def checkAccountAuthenticated(self, account):
See IAuthorization.checkAccountAuthenticated.

We record the call and then return False, arbitrarily chosen, to keep the policy from complaining.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.