~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/oauth/doc/oauth-pages.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-24 17:49:30 UTC
  • mto: This revision was merged to the branch mainline in revision 14602.
  • Revision ID: curtis.hovey@canonical.com-20111224174930-xk1d5cvhyxq46ctf
Moved webapp to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    >>> from zope.component import getMultiAdapter
12
12
    >>> from lp.services.oauth.interfaces import (
13
13
    ...     IOAuthConsumerSet, OAuthPermission)
14
 
    >>> from canonical.launchpad.webapp.interfaces import ILaunchpadRoot
15
 
    >>> from canonical.launchpad.webapp.servers import LaunchpadTestRequest
 
14
    >>> from lp.services.webapp.interfaces import ILaunchpadRoot
 
15
    >>> from lp.services.webapp.servers import LaunchpadTestRequest
16
16
 
17
17
    >>> consumer = getUtility(IOAuthConsumerSet).getByKey('launchpad-library')
18
18
    >>> root = getUtility(ILaunchpadRoot)