[CVP,Q4] Add logging for salt-api requests/responses
Change-Id: I0dd73c60cc4364ce5962ddb2520390ad3ee32f06
Related-PROD: PROD-30482
diff --git a/test_set/cvp-sanity/tests/test_ntp_sync.py b/test_set/cvp-sanity/tests/test_ntp_sync.py
index 8da6fad..f2bbe8f 100644
--- a/test_set/cvp-sanity/tests/test_ntp_sync.py
+++ b/test_set/cvp-sanity/tests/test_ntp_sync.py
@@ -1,6 +1,7 @@
import json
import utils
import pytest
+import logging
@pytest.mark.xfail
@@ -41,7 +42,7 @@
sys_peer_declared = False
if not state[node]:
# TODO: do not skip
- print ("Node {} is skipped".format(node))
+ logging.warning("Node {} is skipped".format(node))
continue
ntpq_output = state[node].split('\n')
# if output has no 'remote' in the head of ntpq output