Fix 'test_single_vip_exists' tests fails with "AttributeError: 'dict_keys' object has no attribute 'append'" error
Change-Id: I64a55973cd590b1632a4a84d1445d481909262a5
Related-Prod:#PROD-34724(PROD:34724)
diff --git a/test_set/cvp-sanity/tests/test_single_vip.py b/test_set/cvp-sanity/tests/test_single_vip.py
index 31e47f7..578528c 100644
--- a/test_set/cvp-sanity/tests/test_single_vip.py
+++ b/test_set/cvp-sanity/tests/test_single_vip.py
@@ -21,7 +21,7 @@
# Let's exclude cmp, kvm, ceph OSD nodes, k8s-cmp, cfg, apt, dns,
# gtw, ceph mon nodes
- exclude_nodes = local_salt_client.test_ping(
+ exclude_nodes = list(local_salt_client.test_ping(
tgt="I@nova:compute or " # cmp
"I@ceph:osd or " # ceph osd
"I@salt:control or " # kvm
@@ -31,7 +31,7 @@
"I@powerdns:server or " # dns
"I@debmirror:client or " # apt
"I@kubernetes:* and not I@etcd:*", # k8s-cmp
- expr_form='compound').keys()
+ expr_form='compound').keys())
# bmk nodes has no unique pillar, let's add it separately to skip
bmk_hostname = local_salt_client.pillar_get(