missing result of the alarm show by name

add the missing result so we can test it

Change-Id: Id37d5d007b02530800a216ea4573ac5f3ea06347
This commit is contained in:
Eyal 2019-04-14 15:15:38 +03:00
parent fb22e98262
commit 25f9c9c57d

View File

@ -425,6 +425,7 @@ class AodhClientGnocchiRulesTest(base.ClientTestBase):
# GET BY NAME
result = self.aodh(
'alarm', params="show --name alarm_gn1")
alarm_show = self.details_multiple(result)[0]
self.assertEqual(ALARM_ID, alarm_show["alarm_id"])
self.assertEqual(PROJECT_ID, alarm_show["project_id"])
self.assertEqual('alarm_gn1', alarm_show['name'])