~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/tests/distributionmirror-views.txt

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
 
212
212
Only users with launchpad.Admin can access the view.
213
213
 
214
 
    >>> from canonical.launchpad.webapp.authorization import check_permission
 
214
    >>> from lp.services.webapp.authorization import check_permission
215
215
 
216
216
    >>> check_permission('launchpad.Admin', view)
217
217
    True
346
346
 
347
347
The archive mirror page summarizes the current state of the mirror.
348
348
 
349
 
    >>> from canonical.launchpad.webapp.interfaces import ILaunchBag
 
349
    >>> from lp.services.webapp.interfaces import ILaunchBag
350
350
    >>> from lp.testing.pages import (
351
351
    ...     extract_text, find_tag_by_id)
352
352