~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/doc/faqcollection.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:
82
82
It also returns None when using the ID of a FAQ that isn't in the
83
83
requested collection:
84
84
 
85
 
    >>> from lp.services.webapp.interfaces import ILaunchBag
 
85
    >>> from canonical.launchpad.webapp.interfaces import ILaunchBag
86
86
    >>> from lp.registry.interfaces.distribution import IDistributionSet
87
87
    >>> ubuntu = getUtility(IDistributionSet).getByName('ubuntu')
88
88
    >>> ubuntu != collection