blob: 7332a495cc7773c7a85d8394cb383a43925f5c8a [file] [log] [blame]
def test_nova_services_status(local_salt_client):
result = local_salt_client.cmd(
'keystone:server',
'cmd.run',
['. /root/keystonerc; nova service-list | grep "down\|disabled" | grep -v "Forced down"'],
expr_form='pillar')
assert result[result.keys()[0]] == '', \
'''Some nova services are in wrong state'''