blob: 741ce7ddfd51aa79b511820d9ca6458c6550e0dc [file] [log] [blame]
Oleksii Zhurba5dc7dc72017-10-31 19:10:32 +00001def test_nova_services_status(local_salt_client):
2 result = local_salt_client.cmd(
3 'keystone:server',
4 'cmd.run',
5 ['. /root/keystonerc; nova service-list | grep "down\|disabled"'],
6 expr_form='pillar')
7 assert result[result.keys()[0]] == '', \
8 '''Some nova services are in wrong state'''