~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Steve Kowalik
  • Date: 2011-08-07 04:05:52 UTC
  • mto: This revision was merged to the branch mainline in revision 13626.
  • Revision ID: stevenk@ubuntu.com-20110807040552-mwnxo0flmhvl35e8
Correct the notification based on review comments, and remove request{,ed}
from the function names, switching to create{,d}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
common external bug tracker.
7
7
 
8
8
    # Some basic imports
9
 
    >>> from lp.services.webapp.testing import verifyObject
 
9
    >>> from canonical.launchpad.webapp.testing import verifyObject
10
10
    >>> from lp.registry.interfaces.projectgroup import (
11
11
    ...     IProjectGroup,
12
12
    ...     IProjectGroupSet,
21
21
    >>> login('admin@canonical.com')
22
22
    >>> evolution = getUtility(IProductSet).getByName('evolution')
23
23
    >>> evolution.translations_usage = ServiceUsage.LAUNCHPAD
 
24
    >>> logout()
24
25
    >>> login('test@canonical.com')
25
26
    >>> transaction.commit()
26
27
 
87
88
db, since the __getitem__ method of IProjectGroupSet is used to traverse to
88
89
the project.
89
90
 
90
 
    >>> from lp.services.database.sqlbase import flush_database_updates
 
91
    >>> from canonical.database.sqlbase import flush_database_updates
91
92
    >>> login("foo.bar@canonical.com")
92
93
    >>> gnome.active = False
93
94
    >>> flush_database_updates()
448
449
    >>> print milestone
449
450
    None
450
451
 
451
 
For details see doc/milestone.txt and tests/test_project_milestone.py.
 
452
For details see doc/milestone.txt and ftests/test_project_milestone.py.