~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/mail.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:
1
 
# Copyright 2009-2010 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Useful helper functions used for testing."""
10
10
 
11
11
from zope.component import getUtility
12
12
 
13
 
from canonical.launchpad.interfaces.mailbox import IMailBox
14
 
from canonical.launchpad.mail import (
 
13
from lp.services.mail.mailbox import IMailBox
 
14
from lp.services.mail.sendmail import (
15
15
    get_msgid,
16
16
    MailController,
17
17
    )