~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/browser/tests/archivesubscription-views.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-24 17:49:30 UTC
  • mto: This revision was merged to the branch mainline in revision 14602.
  • Revision ID: curtis.hovey@canonical.com-20111224174930-xk1d5cvhyxq46ctf
Moved webapp to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
The security for the PersonalArchiveSubscription provides spiv, as the
368
368
subscriber, with view access:
369
369
 
370
 
    >>> from canonical.launchpad.webapp.authorization import check_permission
 
370
    >>> from lp.services.webapp.authorization import check_permission
371
371
    >>> check_permission('launchpad.View', spiv_subscription)
372
372
    True
373
373