[CVP] Refactor salt client class
Change-Id: I91cfffe1c8d5df0224657ce9e36be9063b56f0b3
Related-PROD: PROD-28981
Related-PROD: PROD-28729
Related-PROD: PROD-28624
Related-PROD: PROD-29286
diff --git a/test_set/cvp-sanity/tests/test_nodes.py b/test_set/cvp-sanity/tests/test_nodes.py
index 5f8b2dc..687f3ae 100644
--- a/test_set/cvp-sanity/tests/test_nodes.py
+++ b/test_set/cvp-sanity/tests/test_nodes.py
@@ -4,10 +4,9 @@
def test_minions_status(local_salt_client):
result = local_salt_client.cmd(
- 'salt:master',
- 'cmd.run',
- ['salt-run manage.status timeout=10 --out=json'],
- expr_form='pillar')
+ tgt='salt:master',
+ param='salt-run manage.status timeout=10 --out=json',
+ expr_form='pillar', check_status=True)
statuses = {}
try:
statuses = json.loads(result.values()[0])