def setUp(self): super().setUp() self.series_status = series_status.SeriesStatus( self._series_status_data) self.useFixture( fixtures.MockPatch( 'openstack_releases.deliverable.Deliverable._series_status_data', self.series_status, ))
def test_independent_series(self): data = yamlutils.loads(self._body) status = series_status.SeriesStatus(data) self.assertIn('independent', status)
def test_init(self): data = yamlutils.loads(self._body) status = series_status.SeriesStatus(data) self.assertIn('rocky', status)