~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/doc/fix_translation_credits.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:
3
3
 
4
4
Marks all existing translation credits as translated.
5
5
 
6
 
    >>> from canonical.launchpad.ftests.script import run_script
 
6
    >>> from lp.testing.script import run_script
7
7
    >>> (returncode, out, err) = run_script(
8
8
    ...     'scripts/rosetta/fix_translation_credits.py')
9
9
    >>> print returncode
19
19
After altering the database from a separate process, we must tell the
20
20
test setup that the database is dirty in spite of appearances.
21
21
 
22
 
    >>> from canonical.testing.layers import DatabaseLayer
 
22
    >>> from lp.testing.layers import DatabaseLayer
23
23
    >>> DatabaseLayer.force_dirty_database()