~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

Setup previous_series properly in tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
318
318
    >>> humpy = ubuntu.newSeries('humpy', 'Humpy Hippo',
319
319
    ...                          'The Humpy Hippo', 'Fat', 'Yo Momma',
320
320
    ...                          '99.2', None, hoary.owner)
 
321
    >>> humpy.previous_series = hoary
321
322
    >>> ids = InitializeDistroSeries(humpy, [hoary.id])
322
323
    >>> ids.initialize()
323
324
    >>> hoary.getPublishedSources('pmount').count()
352
353
    >>> bumpy = ubuntu.newSeries('bumpy', 'Bumpy',
353
354
    ...                          'The Bumpy', 'Fat', 'Boom',
354
355
    ...                          '99.3', None, warty.owner)
 
356
    >>> bumpy.previous_series = warty
355
357
    >>> ids = InitializeDistroSeries(bumpy, [warty.id])
356
358
    >>> ids.initialize()
357
359