~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/tests/test_security.py

  • Committer: Brad Crittenden
  • Date: 2011-09-07 21:53:15 UTC
  • mto: This revision was merged to the branch mainline in revision 13900.
  • Revision ID: bac@canonical.com-20110907215315-2xllm7x09yyg2muf
Added saving of obj to DelegatedAuthorization

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
class FakeDelegatedAuthorization(DelegatedAuthorization):
149
149
    def __init__(self, obj, permission=None):
150
150
        super(FakeDelegatedAuthorization, self).__init__(
151
 
            obj.child_obj, permission)
 
151
            obj, obj.child_obj, permission)
152
152
 
153
153
 
154
154
class FakeForwardedObject: