Add test to check nova services status
diff --git a/cvp_checks/tests/test_nova_services.py b/cvp_checks/tests/test_nova_services.py
new file mode 100644
index 0000000..741ce7d
--- /dev/null
+++ b/cvp_checks/tests/test_nova_services.py
@@ -0,0 +1,8 @@
+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"'],
+ expr_form='pillar')
+ assert result[result.keys()[0]] == '', \
+ '''Some nova services are in wrong state'''