~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/doc/questionsets.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:
5
5
The IQuestionSet utility is used to retrieve and search for questions no
6
6
matter which question target they were created for.
7
7
 
8
 
    >>> from canonical.launchpad.webapp.testing import verifyObject
 
8
    >>> from lp.services.webapp.testing import verifyObject
9
9
    >>> from lp.answers.interfaces.questioncollection import IQuestionSet
10
10
    >>> question_set = getUtility(IQuestionSet)
11
11
    >>> verifyObject(IQuestionSet, question_set)