~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/model/tests/test_sourcepackagerecipebuild.py

  • Committer: William Grant
  • Date: 2012-01-01 02:58:52 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101025852-p6ouypk9mzb5usn8
format-imports on lib/. So many imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
from zope.component import getUtility
19
19
from zope.security.proxy import removeSecurityProxy
20
20
 
21
 
from lp.services.database.lpstorm import IStore
22
 
from lp.services.webapp.authorization import check_permission
23
 
from lp.services.webapp.testing import verifyObject
24
 
from lp.testing.layers import (
25
 
    LaunchpadFunctionalLayer,
26
 
    LaunchpadZopelessLayer,
27
 
    )
28
21
from lp.app.errors import NotFoundError
29
22
from lp.buildmaster.enums import BuildStatus
30
23
from lp.buildmaster.interfaces.buildqueue import IBuildQueue
46
39
from lp.code.model.sourcepackagerecipebuild import SourcePackageRecipeBuild
47
40
from lp.registry.interfaces.pocket import PackagePublishingPocket
48
41
from lp.registry.interfaces.series import SeriesStatus
 
42
from lp.services.database.lpstorm import IStore
49
43
from lp.services.log.logger import BufferLogger
50
44
from lp.services.mail.sendmail import format_address
 
45
from lp.services.webapp.authorization import check_permission
 
46
from lp.services.webapp.testing import verifyObject
51
47
from lp.soyuz.interfaces.processor import IProcessorFamilySet
52
48
from lp.soyuz.model.processor import ProcessorFamily
53
49
from lp.testing import (
57
53
    TestCaseWithFactory,
58
54
    )
59
55
from lp.testing.fakemethod import FakeMethod
 
56
from lp.testing.layers import (
 
57
    LaunchpadFunctionalLayer,
 
58
    LaunchpadZopelessLayer,
 
59
    )
60
60
from lp.testing.mail_helpers import pop_notifications
61
61
 
62
62