~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bugwatch.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
    ...     if bugtask.importance != old_bugtask.importance:
268
268
    ...         print "%s => %s" % (old_bugtask.importance.title,
269
269
    ...             bugtask.importance.title)
270
 
    >>> from lp.testing.event import TestEventListener
 
270
    >>> from canonical.lazr.testing.event import TestEventListener
271
271
    >>> from lazr.lifecycle.interfaces import IObjectModifiedEvent
272
272
    >>> from lp.bugs.interfaces.bugtask import IBugTask
273
273
    >>> event_listener = TestEventListener(
417
417
creating a bug task with a conjoined master.
418
418
 
419
419
    >>> from zope.component import getUtility
420
 
    >>> from lp.services.database.sqlbase import flush_database_updates
 
420
    >>> from canonical.database.sqlbase import flush_database_updates
421
421
    >>> from lp.bugs.interfaces.bug import CreateBugParams
422
422
    >>> from lp.bugs.interfaces.bugtask import IBugTaskSet
423
423
    >>> from lp.bugs.interfaces.bugtracker import (