Fix TestAlarmsCount failure in tempest tests

This will fix following error:
RuntimeError: resource_cleanup for TestAlarmsCount did not call
the super's resource_cleanup.

Change-Id: I700285eb0b0408678b93431bcc3de47e67f28e75
This commit is contained in:
Dobroslaw Zybort 2017-09-19 08:23:23 +02:00 committed by Tomasz Trębski
parent be90ed7046
commit c4db8adfca
1 changed files with 1 additions and 2 deletions

View File

@ -159,8 +159,7 @@ class TestAlarmsCount(base.BaseMonascaTest):
@classmethod
def resource_cleanup(cls):
for definition_id in cls.alarm_definition_ids:
cls.monasca_client.delete_alarm_definition(definition_id)
super(TestAlarmsCount, cls).resource_cleanup()
def _verify_counts_format(self, response_body, group_by=None, expected_length=None):
expected_keys = ['links', 'counts', 'columns']