~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/doc/fakepackager.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-09 13:33:40 UTC
  • mfrom: (14455.2.8 openpgpocalypse)
  • Revision ID: launchpad@pqm.canonical.com-20111209133340-8ikv91nd78a1721j
[r=sinzui][no-qa] Migrate GPGHandler and related paraphernalia out of
 canonical.launchpad.

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
    >>> content = open(changesfile_path).read()
161
161
 
162
162
    >>> from zope.component import getUtility
163
 
    >>> from canonical.launchpad.interfaces.gpghandler import IGPGHandler
 
163
    >>> from lp.services.gpg.interfaces import IGPGHandler
164
164
    >>> gpghandler = getUtility(IGPGHandler)
165
165
    >>> sig = gpghandler.verifySignature(content)
166
166
 
225
225
It also requires the public test gpg keys to be imported in the
226
226
database.
227
227
 
228
 
    >>> from canonical.launchpad.ftests import import_public_test_keys
 
228
    >>> from lp.testing.gpgkeys import import_public_test_keys
229
229
    >>> import_public_test_keys()
230
230
 
231
231
The default upload target is ubuntu/hoary and since we will deal with