~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bugwidget.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:
2
2
 
3
3
The BugWidget converts string bug ids to the corresponding bug object.
4
4
 
5
 
    >>> from canonical.launchpad.webapp.servers import LaunchpadTestRequest
 
5
    >>> from lp.services.webapp.servers import LaunchpadTestRequest
6
6
    >>> from lp.bugs.browser.widgets.bug import BugWidget
7
7
    >>> from lp.services.fields import BugField
8
8
    >>> bug_field = BugField(__name__='bug', title=u'Bug')