~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2011-12-30 01:48:17 UTC
  • mto: (14606.3.6 apocaremains)
  • mto: This revision was merged to the branch mainline in revision 14608.
  • Revision ID: william.grant@canonical.com-20111230014817-7qmddxz1x941socp
Move the rest of canonical.librarian to lp.services.librarianserver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
from zope.component import getUtility
22
22
from zope.security.proxy import removeSecurityProxy
23
23
 
24
 
from lp.services.config import config
25
24
from canonical.database.sqlbase import flush_database_caches
26
 
from canonical.librarian.testing.server import fillLibrarianFile
27
 
from lp.testing.layers import (
28
 
    DatabaseLayer,
29
 
    LaunchpadFunctionalLayer,
30
 
    LaunchpadZopelessLayer,
31
 
    )
32
25
from lp.archivepublisher.utils import get_ppa_reference
33
26
from lp.bugs.interfaces.bug import (
34
27
    CreateBugParams,
40
33
from lp.registry.interfaces.person import IPersonSet
41
34
from lp.registry.interfaces.pocket import PackagePublishingPocket
42
35
from lp.registry.interfaces.series import SeriesStatus
 
36
from lp.services.config import config
43
37
from lp.services.librarian.interfaces import ILibraryFileAliasSet
 
38
from lp.services.librarianserver.testing.server import fillLibrarianFile
44
39
from lp.services.log.logger import BufferLogger
45
40
from lp.soyuz.adapters.overrides import SourceOverride
46
41
from lp.soyuz.adapters.packagelocation import PackageLocationError
88
83
    StormStatementRecorder,
89
84
    TestCaseWithFactory,
90
85
    )
 
86
from lp.testing.layers import (
 
87
    DatabaseLayer,
 
88
    LaunchpadFunctionalLayer,
 
89
    LaunchpadZopelessLayer,
 
90
    )
91
91
from lp.testing.mail_helpers import pop_notifications
92
92
from lp.testing.matchers import HasQueryCount
93
93