~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/stories/gpg-coc/xx-gpg-coc.txt

  • Committer: William Grant
  • Date: 2011-12-09 01:21:32 UTC
  • mto: (14455.3.6 more-canonical-purge)
  • mto: This revision was merged to the branch mainline in revision 14467.
  • Revision ID: william.grant@canonical.com-20111209012132-i73v182bfiafu3mq
Drop imports from canonical.launchpad.ftests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    >>> from zope.component import getUtility
90
90
    >>> from lp.services.gpg.interfaces import IGPGHandler
91
91
 
92
 
    >>> from canonical.launchpad.ftests import (
 
92
    >>> from lp.testing.gpgkeys import (
93
93
    ...     import_secret_test_key, decrypt_content)
94
94
 
95
95
 
518
518
Get the token from the body of the email sent.
519
519
 
520
520
    >>> import email, re
521
 
    >>> from canonical.launchpad.ftests import decrypt_content
522
521
    >>> from lp.services.mail import stub
523
522
    >>> from_addr, to_addrs, raw_msg = stub.test_emails.pop()
524
523
    >>> msg = email.message_from_string(raw_msg)