~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bug-private-by-default.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:
4
4
A product with private bugs by default must always have a bug supervisor
5
5
(this is enforced by a DB constraint).
6
6
 
7
 
    >>> from canonical.testing.layers import LaunchpadZopelessLayer
 
7
    >>> from lp.testing.layers import LaunchpadZopelessLayer
8
8
    >>> from lp.bugs.interfaces.bug import CreateBugParams
9
9
    >>> from lp.registry.interfaces.person import IPersonSet
10
10
    >>> from lp.registry.interfaces.product import IProductSet