Add logging for salt-api requests/responses
Change-Id: I0dd73c60cc4364ce5962ddb2520390ad3ee32f06
Closes-Task:#PROD-29994(PROD:29994)
diff --git a/test_set/cvp-sanity/tests/test_packet_checker.py b/test_set/cvp-sanity/tests/test_packet_checker.py
index 786fba9..382576a 100644
--- a/test_set/cvp-sanity/tests/test_packet_checker.py
+++ b/test_set/cvp-sanity/tests/test_packet_checker.py
@@ -1,6 +1,7 @@
import pytest
import json
import utils
+import logging
@pytest.mark.full
@@ -23,7 +24,7 @@
for node in total_nodes:
if not packages_versions[node]:
# TODO: do not skip node
- print "Node {} is skipped".format (node)
+ logging.warning("Node {} is skipped".format(node))
continue
nodes.append(node)
packages_names.update(packages_versions[node].keys())