~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/factory.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-15 10:35:32 UTC
  • mfrom: (14517.1.3 new-bzr)
  • Revision ID: launchpad@pqm.canonical.com-20111215103532-q2m4uyk0r8ugiayx
[r=sinzui, poolie][bug=509016] Always load foreign plugins,
 but restrict probers to avoid accidentally opening foreign branches.
 (re-land)

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    UTC_NOW,
71
71
    )
72
72
from canonical.database.sqlbase import flush_database_updates
 
73
from canonical.launchpad.database.account import Account
 
74
from canonical.launchpad.interfaces.account import (
 
75
    AccountCreationRationale,
 
76
    AccountStatus,
 
77
    IAccountSet,
 
78
    )
 
79
from canonical.launchpad.interfaces.emailaddress import (
 
80
    EmailAddressStatus,
 
81
    IEmailAddressSet,
 
82
    )
73
83
from canonical.launchpad.interfaces.librarian import ILibraryFileAliasSet
74
 
from lp.services.database.lpstorm import (
 
84
from canonical.launchpad.interfaces.lpstorm import (
75
85
    IMasterStore,
76
86
    IStore,
77
87
    )
78
 
from lp.services.temporaryblobstorage.interfaces import (
 
88
from canonical.launchpad.interfaces.temporaryblobstorage import (
79
89
    ITemporaryStorageManager,
80
90
    )
81
91
from canonical.launchpad.webapp.dbpolicy import MasterDatabasePolicy
232
242
from lp.registry.model.milestone import Milestone
233
243
from lp.registry.model.suitesourcepackage import SuiteSourcePackage
234
244
from lp.services.gpg.interfaces import IGPGHandler
235
 
from lp.services.identity.interfaces.account import (
236
 
    AccountCreationRationale,
237
 
    AccountStatus,
238
 
    IAccountSet,
239
 
    )
240
 
from lp.services.identity.interfaces.emailaddress import (
241
 
    EmailAddressStatus,
242
 
    IEmailAddressSet,
243
 
    )
244
 
from lp.services.identity.model.account import Account
245
245
from lp.services.job.interfaces.job import SuspendJobException
246
246
from lp.services.log.logger import BufferLogger
247
247
from lp.services.mail.signedmessage import SignedMessage