~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 12:41:32 UTC
  • mfrom: (14578.2.5 librarian-services)
  • Revision ID: launchpad@pqm.canonical.com-20111222124132-s1yqnjjb1jl7384h
[r=wgrant][no-qa] Move most non-server librarian stuff from around
        the tree to lp.services.librarian. canonical.launchpad.{browser,
        database} are no longer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
Let's instantiate the view for +queue for anonymous access:
7
7
 
8
8
  >>> from zope.component import queryMultiAdapter
9
 
  >>> from canonical.launchpad.database.librarian import LibraryFileAlias
 
9
  >>> from lp.services.librarian.model import LibraryFileAlias
10
10
  >>> from canonical.launchpad.webapp.servers import LaunchpadTestRequest
11
11
  >>> from lp.registry.interfaces.distribution import IDistributionSet
12
12
  >>> fake_chroot = LibraryFileAlias.get(1)
232
232
    ...     SoyuzTestPublisher)
233
233
    >>> from lp.soyuz.enums import (
234
234
    ...     PackagePublishingStatus)
235
 
    >>> from canonical.launchpad.interfaces.librarian import ILibraryFileAliasSet
 
235
    >>> from lp.services.librarian.interfaces import ILibraryFileAliasSet
236
236
    >>> stp = SoyuzTestPublisher()
237
237
    >>> hoary = ubuntu['hoary']
238
238
    >>> stp.prepareBreezyAutotest()