Migrate cvp-sanity to Python3
* use print function from future
* convert dict keys and values to list
* do not use bunch imports
* fix requirements mismatch
Related: PROD-33849
Change-Id: Ifecc3a9dcdcfe3243f7dcf2c709a80e9a7c765a1
(cherry picked from commit e32e3f9ea37a24da5365dcef2a13609057b61923)
diff --git a/test_set/cvp-sanity/tests/test_single_vip.py b/test_set/cvp-sanity/tests/test_single_vip.py
index dc18e0c..92a6a5e 100644
--- a/test_set/cvp-sanity/tests/test_single_vip.py
+++ b/test_set/cvp-sanity/tests/test_single_vip.py
@@ -26,7 +26,7 @@
fun='cmd.run',
param='ip a | grep /32 ' + exclude_from_grep,
expr_form='compound')
- result = [x for x in nodes_list.values() if x]
+ result = [x for x in list(nodes_list.values()) if x]
if len(result) != 1:
if len(result) == 0:
no_vip[group] = 'No vip found'