~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/doc/distroseries-translations-copy.txt

  • Committer: Gary Poster
  • Date: 2011-07-27 15:25:32 UTC
  • mto: This revision was merged to the branch mainline in revision 13541.
  • Revision ID: gary.poster@canonical.com-20110727152532-50akr19c7mgcj5qu
add config option for timeout value

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
    >>> login("foo.bar@canonical.com")
10
10
    >>> foobuntu = factory.makeDistribution('foobuntu', 'Foobuntu')
11
 
    >>> barty = factory.makeDistroSeries(foobuntu, '99.0', name='barty')
12
 
    >>> carty = factory.makeDistroSeries(
 
11
    >>> barty = factory.makeDistroRelease(foobuntu, '99.0', name='barty')
 
12
    >>> carty = factory.makeDistroRelease(
13
13
    ...     foobuntu, '99.1', name='carty', previous_series=barty)
14
14
 
15
15
Functions to create source packages, templates and and translations.
174
174
those translations. For testing purposes this series has translation imports
175
175
enabled.
176
176
 
177
 
    >>> darty = factory.makeDistroSeries(
 
177
    >>> darty = factory.makeDistroRelease(
178
178
    ...     foobuntu, '99.2', name='darty', previous_series=barty)
179
179
    >>> darty_id = darty.id
180
180
    >>> darty.defer_translation_imports = False