~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/doc/person.txt

[r=benji][bug=795573,
 796233] On DistroSeries:+localpackagediffs ensure that the comment
 form is hidden after adding a new comment to a DistroSeriesDifference,
 prevent empty comments from being submitted,
 and add some animations and effects to make the UI less jarring and easier to
 follow.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
not Launchpad users.
7
7
 
8
8
    >>> from zope.component import getUtility
9
 
    >>> from canonical.launchpad.interfaces.emailaddress import IEmailAddressSet
 
9
    >>> from canonical.launchpad.interfaces.emailaddress import (
 
10
    ...     IEmailAddressSet)
10
11
    >>> from canonical.launchpad.webapp.testing import verifyObject
11
12
    >>> from lp.registry.interfaces.person import (
12
13
    ...     IHasStanding,
83
84
start with the word "when" followed by a description of the action that
84
85
caused the entry to be created.
85
86
 
86
 
    >>> from canonical.launchpad.interfaces.emailaddress import EmailAddressStatus
 
87
    >>> from canonical.launchpad.interfaces.emailaddress import (
 
88
    ...     EmailAddressStatus)
87
89
    >>> from lp.registry.interfaces.person import PersonCreationRationale
88
90
    >>> p, email = personset.createPersonAndEmail(
89
91
    ...     'randomuser@randomhost.com', PersonCreationRationale.POFILEIMPORT,
762
764
    >>> print_people(personset.find('ubuntu'))
763
765
    Mirror Administrators (ubuntu-mirror-admins): []
764
766
    Sigurd Gartmann (sigurd-ubuntu): [u'sigurd-ubuntu@brogar.org']
765
 
    Ubuntu branches (ubuntu-branches): []
766
767
    Ubuntu Doc Team (doc): [u'doc@lists.ubuntu.com']
767
768
    Ubuntu Gnome Team (name18): []
768
769
    Ubuntu Security Team (ubuntu-security): []
769
770
    Ubuntu Team (ubuntu-team): [u'support@ubuntu.com']
770
771
    Ubuntu Technical Board (techboard): []
771
772
    Ubuntu Translators (ubuntu-translators): []
772
 
    Ubuntu-branches-owner (ubuntu-branches-owner):
773
 
      [u'ubuntu-branches-owner@example.com']
774
773
 
775
774
    >>> print_people(personset.find('steve.alexander'))
776
775
    Steve Alexander (stevea): [u'steve.alexander@ubuntulinux.com']