~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/tests/test_doc.py

  • Committer: Curtis Hovey
  • Date: 2011-12-18 13:56:51 UTC
  • mfrom: (14538.1.3 identity-apocalypse-0)
  • mto: This revision was merged to the branch mainline in revision 14547.
  • Revision ID: curtis.hovey@canonical.com-20111218135651-1xb4j1p47dkb83ws
merged base branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 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
"""
42
42
    code that did not use the ValidPersonOrTeamCache to determine
43
43
    validity.
44
44
    """
45
 
    from canonical.launchpad.database.emailaddress import EmailAddress
46
 
    from canonical.launchpad.interfaces.emailaddress import EmailAddressStatus
 
45
    from lp.services.identity.model.emailaddress import EmailAddress
 
46
    from lp.services.identity.interfaces.emailaddress import EmailAddressStatus
47
47
    stevea_emailaddress = EmailAddress.byEmail(
48
48
            'steve.alexander@ubuntulinux.com')
49
49
    stevea_emailaddress.status = EmailAddressStatus.NEW