示例#1
0
 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,
         ))
示例#2
0
 def test_independent_series(self):
     data = yamlutils.loads(self._body)
     status = series_status.SeriesStatus(data)
     self.assertIn('independent', status)
示例#3
0
 def test_init(self):
     data = yamlutils.loads(self._body)
     status = series_status.SeriesStatus(data)
     self.assertIn('rocky', status)