fix the type of all_tenants
The type of `all_tenants` become to str, not boolean after the cli send the request to server. Change-Id: I8219ae04c7c46a473874c487914764e8c6744af0 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
This commit is contained in:
parent
c8114ee4bf
commit
02972030af
@ -77,7 +77,7 @@ class TestEvents(base.BaseTestCase):
|
||||
|
||||
def _check_alarms(self):
|
||||
api_alarms = self.vitrage_client.alarm.list(vitrage_id='all',
|
||||
all_tenants=False)
|
||||
all_tenants=True)
|
||||
if api_alarms:
|
||||
return True, api_alarms
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user