~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/doc/pofile.txt

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
    >>> import datetime
7
7
    >>> import pytz
8
8
    >>> from zope.component import getUtility
9
 
    >>> from canonical.launchpad.webapp.testing import verifyObject
 
9
    >>> from lp.services.webapp.testing import verifyObject
10
10
    >>> from lp.registry.interfaces.distribution import IDistributionSet
11
11
    >>> from lp.registry.interfaces.person import IPersonSet
12
12
    >>> from lp.services.worlddata.interfaces.language import ILanguageSet
513
513
    # We change the plural form.
514
514
 
515
515
    >>> potmsgset.updatePluralForm(u'something else')
516
 
    >>> from canonical.database.sqlbase import flush_database_updates
 
516
    >>> from lp.services.database.sqlbase import flush_database_updates
517
517
    >>> flush_database_updates()
518
518
    >>> print potmsgset.plural_text
519
519
    something else
869
869
 
870
870
Import the function that will help us to do this test.
871
871
 
872
 
    >>> from canonical.launchpad.webapp.authorization import check_permission
 
872
    >>> from lp.services.webapp.authorization import check_permission
873
873
 
874
874
A Launchpad admin must have permission to edit an IPOFile always.
875
875