Merge "missing result of the alarm show by name"
This commit is contained in:
commit
884dd61dc7
@ -425,6 +425,7 @@ class AodhClientGnocchiRulesTest(base.ClientTestBase):
|
|||||||
# GET BY NAME
|
# GET BY NAME
|
||||||
result = self.aodh(
|
result = self.aodh(
|
||||||
'alarm', params="show --name alarm_gn1")
|
'alarm', params="show --name alarm_gn1")
|
||||||
|
alarm_show = self.details_multiple(result)[0]
|
||||||
self.assertEqual(ALARM_ID, alarm_show["alarm_id"])
|
self.assertEqual(ALARM_ID, alarm_show["alarm_id"])
|
||||||
self.assertEqual(PROJECT_ID, alarm_show["project_id"])
|
self.assertEqual(PROJECT_ID, alarm_show["project_id"])
|
||||||
self.assertEqual('alarm_gn1', alarm_show['name'])
|
self.assertEqual('alarm_gn1', alarm_show['name'])
|
||||||
|
Loading…
Reference in New Issue
Block a user