~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-07-22 00:28:34 UTC
  • mfrom: (13469.2.6 bug-799901)
  • Revision ID: launchpad@pqm.canonical.com-20110722002834-j6r7h40groyei28z
[r=allenap][bug=799901] Add tooltip to bug subscribers list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
888
888
    >>> ff_bug.subscribe(lifeless, mark)
889
889
    <lp.bugs.model.bugsubscription.BugSubscription ...>
890
890
    >>> subscriptions = [
891
 
    ...     "%s (%s)" % (
 
891
    ...     "%s: %s" % (
892
892
    ...         subscription.person.displayname,
893
893
    ...         subscription.display_subscribed_by)
894
894
    ...     for subscription in ff_bug.getDirectSubscriptions()]
895
895
    >>> for subscription in sorted(subscriptions):
896
896
    ...     print subscription
897
 
    Mark Shuttleworth (Self-subscribed)
898
 
    Robert Collins (Subscribed by Mark Shuttleworth)
 
897
    Mark Shuttleworth: Self-subscribed
 
898
    Robert Collins: Subscribed by Mark Shuttleworth (mark)
899
899
    >>> params = CreateBugParams(
900
900
    ...     title="one more dupe test bug",
901
901
    ...     comment="one more dupe test description",
906
906
    >>> dupe_ff_bug.subscribe(foobar, lifeless)
907
907
    <lp.bugs.model.bugsubscription.BugSubscription ...>
908
908
    >>> for subscription in ff_bug.getSubscriptionsFromDuplicates():
909
 
    ...     print '%s (%s)' % (
 
909
    ...     print '%s: %s' % (
910
910
    ...         subscription.person.displayname,
911
911
    ...         subscription.display_duplicate_subscribed_by)
912
 
    Scott James Remnant (Self-subscribed to bug ...)
913
 
    Foo Bar (Subscribed to bug ... by Robert Collins)
 
912
    Scott James Remnant: Self-subscribed to bug ...
 
913
    Foo Bar: Subscribed to bug ... by Robert Collins (lifeless)