Exemple #1
0
 def test_ignores_parent_within_same_distro(self):
     previous_series = self.factory.makeDistroSeries()
     derived_series = self.factory.makeDistroSeries(
         distribution=previous_series.distribution,
         previous_series=previous_series)
     self.assertNotIn(derived_series, find_derived_series())
Exemple #2
0
 def test_finds_derived_distroseries(self):
     dsp = self.makeDerivedDistroSeries()
     self.assertIn(dsp.derived_series, find_derived_series())
Exemple #3
0
 def test_does_not_find_underived_distroseries(self):
     distroseries = self.factory.makeDistroSeries()
     self.assertNotIn(distroseries, find_derived_series())
 def test_ignores_parent_within_same_distro(self):
     previous_series = self.factory.makeDistroSeries()
     derived_series = self.factory.makeDistroSeries(
         distribution=previous_series.distribution,
         previous_series=previous_series)
     self.assertNotIn(derived_series, find_derived_series())
 def test_finds_derived_distroseries(self):
     dsp = self.makeDerivedDistroSeries()
     self.assertIn(dsp.derived_series, find_derived_series())
 def test_does_not_find_underived_distroseries(self):
     distroseries = self.factory.makeDistroSeries()
     self.assertNotIn(distroseries, find_derived_series())