~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/mail/tests/test_handler.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-31 00:16:50 UTC
  • mfrom: (14606.3.7 apocaremains)
  • Revision ID: launchpad@pqm.canonical.com-20111231001650-pjeyhfjhm6mg3yp8
[r=wgrant][no-qa] Merge canonical.database into lp.services.database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    )
17
17
from zope.security.proxy import removeSecurityProxy
18
18
 
19
 
from lp.services.config import config
20
 
from canonical.database.sqlbase import commit
21
 
from lp.services.webapp.authorization import LaunchpadSecurityPolicy
22
 
from lp.testing.layers import (
23
 
    LaunchpadFunctionalLayer,
24
 
    LaunchpadZopelessLayer,
25
 
    )
26
19
from lp.bugs.interfaces.bug import IBugSet
27
20
from lp.bugs.mail.commands import (
28
21
    BugEmailCommand,
35
28
    MaloneHandler,
36
29
    )
37
30
from lp.bugs.model.bugnotification import BugNotification
 
31
from lp.services.config import config
 
32
from lp.services.database.sqlbase import commit
38
33
from lp.services.identity.interfaces.emailaddress import EmailAddressStatus
39
34
from lp.services.mail import stub
 
35
from lp.services.webapp.authorization import LaunchpadSecurityPolicy
40
36
from lp.testing import (
41
37
    celebrity_logged_in,
42
38
    login,
46
42
    )
47
43
from lp.testing.factory import GPGSigningContext
48
44
from lp.testing.gpgkeys import import_secret_test_key
 
45
from lp.testing.layers import (
 
46
    LaunchpadFunctionalLayer,
 
47
    LaunchpadZopelessLayer,
 
48
    )
49
49
from lp.testing.mail_helpers import pop_notifications
50
50
 
51
51