~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/launchpad/doc/webservice-configuration.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-18 15:13:07 UTC
  • mto: This revision was merged to the branch mainline in revision 14547.
  • Revision ID: curtis.hovey@canonical.com-20111218151307-sdm2gzobt5tplbe0
Moved badges to lp.app.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
    >>> from zope.component import provideUtility
9
9
    >>> from lazr.restful.interfaces import IWebServiceConfiguration
10
 
    >>> from lp.services.webservice.configuration import (
 
10
    >>> from canonical.launchpad.rest.configuration import (
11
11
    ...     LaunchpadWebServiceConfiguration)
12
12
    >>> webservice_config = LaunchpadWebServiceConfiguration()
13
13
 
24
24
based on the site configuration and whether the requesting user is a
25
25
developer.
26
26
 
27
 
    >>> from lp.services.config import config
 
27
    >>> from canonical.config import config
28
28
    >>> from textwrap import dedent
29
29
 
30
30
    >>> from zope.interface import implements
31
 
    >>> from lp.services.webapp.interfaces import ILaunchBag
 
31
    >>> from canonical.launchpad.webapp.interfaces import ILaunchBag
32
32
    >>> class FakeLaunchBag:
33
33
    ...     implements(ILaunchBag)
34
34
    ...     developer = False