From 25f9c9c57dab36bdc02677a3e5903498f09185ff Mon Sep 17 00:00:00 2001 From: Eyal Date: Sun, 14 Apr 2019 15:15:38 +0300 Subject: [PATCH] missing result of the alarm show by name add the missing result so we can test it Change-Id: Id37d5d007b02530800a216ea4573ac5f3ea06347 --- aodhclient/tests/functional/test_alarm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aodhclient/tests/functional/test_alarm.py b/aodhclient/tests/functional/test_alarm.py index a8f8753..69bcee9 100644 --- a/aodhclient/tests/functional/test_alarm.py +++ b/aodhclient/tests/functional/test_alarm.py @@ -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'])