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_ntp_sync.py b/test_set/cvp-sanity/tests/test_ntp_sync.py
index bf51290..6751f1a 100644
--- a/test_set/cvp-sanity/tests/test_ntp_sync.py
+++ b/test_set/cvp-sanity/tests/test_ntp_sync.py
@@ -1,10 +1,11 @@
import json
import utils
import pytest
+import logging
@pytest.mark.smoke
-#move to sl?
+# move to sl?
def test_ntp_sync(local_salt_client):
"""Test checks that system time is the same across all nodes"""
@@ -40,7 +41,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