Add bobcat:reef mapping
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com> Change-Id: I042e3ce9d17e5060b8f1f46f877ef06d8d95613c
This commit is contained in:
parent
9efdf505b3
commit
48a2ce2fb9
@ -53,6 +53,7 @@ UCA_CODENAME_MAP = {
|
|||||||
'yoga': 'quincy',
|
'yoga': 'quincy',
|
||||||
'zed': 'quincy',
|
'zed': 'quincy',
|
||||||
'antelope': 'quincy',
|
'antelope': 'quincy',
|
||||||
|
'bobcat': 'reef',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -303,13 +303,13 @@ class TestOSBaseCharm(CharmTestCase):
|
|||||||
self.harness.charm.unit.status,
|
self.harness.charm.unit.status,
|
||||||
BlockedStatus)
|
BlockedStatus)
|
||||||
self.os_utils.ows_check_services_running.assert_called_once_with(
|
self.os_utils.ows_check_services_running.assert_called_once_with(
|
||||||
['apache2', 'ks-api'], ports=[])
|
self.harness.charm.services(), ports=[])
|
||||||
|
|
||||||
def test_services(self):
|
def test_services(self):
|
||||||
self.harness.begin()
|
self.harness.begin()
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
self.harness.charm.services(),
|
set(self.harness.charm.services()),
|
||||||
['apache2', 'ks-api'])
|
set(['apache2', 'ks-api']))
|
||||||
|
|
||||||
def test_pre_series_upgrade(self):
|
def test_pre_series_upgrade(self):
|
||||||
self.os_utils.manage_payload_services.return_value = ('a', 'b')
|
self.os_utils.manage_payload_services.return_value = ('a', 'b')
|
||||||
@ -321,7 +321,7 @@ class TestOSBaseCharm(CharmTestCase):
|
|||||||
self.assertTrue(self.harness.charm._stored.is_paused)
|
self.assertTrue(self.harness.charm._stored.is_paused)
|
||||||
self.os_utils.manage_payload_services.assert_called_once_with(
|
self.os_utils.manage_payload_services.assert_called_once_with(
|
||||||
'pause',
|
'pause',
|
||||||
services=['apache2', 'ks-api'],
|
services=self.harness.charm.services(),
|
||||||
charm_func=None)
|
charm_func=None)
|
||||||
|
|
||||||
def test_post_series_upgrade(self):
|
def test_post_series_upgrade(self):
|
||||||
@ -334,7 +334,7 @@ class TestOSBaseCharm(CharmTestCase):
|
|||||||
self.assertFalse(self.harness.charm._stored.is_paused)
|
self.assertFalse(self.harness.charm._stored.is_paused)
|
||||||
self.os_utils.manage_payload_services.assert_called_once_with(
|
self.os_utils.manage_payload_services.assert_called_once_with(
|
||||||
'resume',
|
'resume',
|
||||||
services=['apache2', 'ks-api'],
|
services=self.harness.charm.services(),
|
||||||
charm_func=None)
|
charm_func=None)
|
||||||
|
|
||||||
def test_pause(self):
|
def test_pause(self):
|
||||||
@ -345,7 +345,7 @@ class TestOSBaseCharm(CharmTestCase):
|
|||||||
self.assertTrue(self.harness.charm._stored.is_paused)
|
self.assertTrue(self.harness.charm._stored.is_paused)
|
||||||
self.os_utils.manage_payload_services.assert_called_once_with(
|
self.os_utils.manage_payload_services.assert_called_once_with(
|
||||||
'pause',
|
'pause',
|
||||||
services=['apache2', 'ks-api'],
|
services=self.harness.charm.services(),
|
||||||
charm_func=None)
|
charm_func=None)
|
||||||
|
|
||||||
def test_resume(self):
|
def test_resume(self):
|
||||||
@ -356,7 +356,7 @@ class TestOSBaseCharm(CharmTestCase):
|
|||||||
self.assertFalse(self.harness.charm._stored.is_paused)
|
self.assertFalse(self.harness.charm._stored.is_paused)
|
||||||
self.os_utils.manage_payload_services.assert_called_once_with(
|
self.os_utils.manage_payload_services.assert_called_once_with(
|
||||||
'resume',
|
'resume',
|
||||||
services=['apache2', 'ks-api'],
|
services=self.harness.charm.services(),
|
||||||
charm_func=None)
|
charm_func=None)
|
||||||
|
|
||||||
def test_mandatory_config(self):
|
def test_mandatory_config(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user