~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/mail/tests/test_dkim.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-13 01:11:42 UTC
  • mfrom: (13668.1.31 private-bug-0)
  • Revision ID: launchpad@pqm.canonical.com-20110813011142-b8xvpxhdja422ln2
[rs=sinzui][no-qa] Moved canonical.launchpad.mail to lp.services.mail,
 bugs.mail, code.mail.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
import dkim
13
13
import dns.resolver
14
14
 
15
 
from canonical.launchpad.interfaces.mail import IWeaklyAuthenticatedPrincipal
16
 
from canonical.launchpad.mail import signed_message_from_string
 
15
from canonical.testing.layers import DatabaseFunctionalLayer
17
16
from lp.services.features.testing import FeatureFixture
18
17
from lp.services.mail import incoming
19
18
from lp.services.mail.incoming import authenticateEmail
20
 
from canonical.testing.layers import DatabaseFunctionalLayer
 
19
from lp.services.mail.interfaces import IWeaklyAuthenticatedPrincipal
 
20
from lp.services.mail.signedmessage import signed_message_from_string
21
21
from lp.testing import TestCaseWithFactory
22
22
 
23
23
# sample private key made with 'openssl genrsa' and public key using 'openssl