~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/scripts/tests/test_queue.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-30 10:09:30 UTC
  • mfrom: (14606.2.8 apocalibrarian)
  • Revision ID: launchpad@pqm.canonical.com-20111230100930-kp3e0l6wakissewm
[r=wgrant][no-qa] Move canonical.librarian to
        lp.services.librarian(server).

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
from zope.security.interfaces import ForbiddenAttribute
18
18
from zope.security.proxy import removeSecurityProxy
19
19
 
20
 
from lp.services.config import config
21
 
from canonical.librarian.testing.server import fillLibrarianFile
22
 
from canonical.librarian.utils import filechunks
23
 
from lp.testing.layers import (
24
 
    DatabaseFunctionalLayer,
25
 
    LaunchpadZopelessLayer,
26
 
    LibrarianLayer,
27
 
    )
28
20
from lp.archiveuploader.nascentupload import NascentUpload
29
21
from lp.archiveuploader.tests import (
30
22
    datadir,
40
32
from lp.registry.interfaces.person import IPersonSet
41
33
from lp.registry.interfaces.pocket import PackagePublishingPocket
42
34
from lp.registry.interfaces.series import SeriesStatus
 
35
from lp.services.config import config
43
36
from lp.services.database.lpstorm import IStore
44
37
from lp.services.librarian.interfaces import ILibraryFileAliasSet
45
38
from lp.services.librarian.model import LibraryFileAlias
 
39
from lp.services.librarian.utils import filechunks
 
40
from lp.services.librarianserver.testing.server import fillLibrarianFile
46
41
from lp.services.log.logger import DevNullLogger
47
42
from lp.services.mail import stub
48
43
from lp.soyuz.enums import (
69
64
    TestCaseWithFactory,
70
65
    )
71
66
from lp.testing.fakemethod import FakeMethod
 
67
from lp.testing.layers import (
 
68
    DatabaseFunctionalLayer,
 
69
    LaunchpadZopelessLayer,
 
70
    LibrarianLayer,
 
71
    )
72
72
 
73
73
 
74
74
class TestQueueBase: