2731
2729
# set when the +edit view is used.
2732
2730
ubuntu = getUtility(IDistributionSet).getByName('ubuntu')
2733
2731
distroseries = self.factory.makeDistroSeries(distribution=ubuntu)
2736
2733
'field.actions.change': 'Change',
2737
2734
'field.status': 'CURRENT'
2741
distroseries, name='+edit', principal=admin, form=form)
2738
distroseries, name='+edit', principal=admin, form=form)
2742
2739
self.assertIsNot(None, distroseries.datereleased)