~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bugcomment.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
independently.
6
6
 
7
7
    >>> from zope.component import getMultiAdapter
8
 
    >>> from canonical.launchpad.webapp.servers import LaunchpadTestRequest
 
8
    >>> from lp.services.webapp.servers import LaunchpadTestRequest
9
9
    >>> from lp.bugs.interfaces.bug import IBugSet
10
10
 
11
11
 
186
186
comment in sequence, it will be omitted. Let's add some comments and
187
187
attachments to a bug to see this in action:
188
188
 
189
 
    >>> from canonical.launchpad.webapp.interfaces import ILaunchBag
 
189
    >>> from lp.services.webapp.interfaces import ILaunchBag
190
190
    >>> from lp.registry.interfaces.person import IPersonSet
191
191
    >>> import StringIO
192
192
    >>> user = getUtility(ILaunchBag).user