fix the TestEvent test

add a missing parameter

Change-Id: I4fb953ce4a525f54204e89cde5a3af611ca8f6b1
This commit is contained in:
Eyal 2017-03-08 10:46:04 +02:00
parent cc14a1c0f4
commit f2cdca8fa7

View File

@ -57,7 +57,8 @@ class TestEvents(base.BaseTestCase):
self.vitrage_client.event.post(event_time, event_type, details)
# list all alarms
api_alarms = self.vitrage_client.alarm.list(vitrage_id=None)
api_alarms = self.vitrage_client.alarm.list(vitrage_id=None,
all_tenants=False)
# expect to get a 'host down alarm', generated by Doctor datasource
self.assertIsNotNone(api_alarms, 'Expected host down alarm')