~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/tests/buglinktarget.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-16 10:45:29 UTC
  • mfrom: (13147.1.10 bug-61531)
  • Revision ID: launchpad@pqm.canonical.com-20110616104529-1jnwys2ujxb8hk4t
[r=jtv][bug=61531] Marking a bug as private will now subscribe the
        user explicitly to the bug if they aren't already subscribed
        directly or via a team.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
 
87
87
    >>> login('no-priv@canonical.com')
88
88
    >>> private_bug = bugset.get(6)
89
 
    >>> private_bug.setPrivate(True, getUtility(ILaunchBag).user)
 
89
    >>> private_bug.setPrivate(True, factory.makePerson())
90
90
    True
91
91
    >>> target.linkBug(private_bug)
92
92
    Traceback (most recent call last):