Added logs that write the test config

This commit is contained in:
Shay Nehmad 2019-10-07 10:39:11 +03:00
parent 1ddc9fb3ef
commit 59e3deb09e
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import json
from time import sleep from time import sleep
import logging import logging
@ -22,6 +23,7 @@ class BasicTest(object):
self.log_handler = log_handler self.log_handler = log_handler
def run(self): def run(self):
LOGGER.info("Uploading configuration:\n{}".format(json.dumps(self.config_parser.config_json, indent=2)))
self.island_client.import_config(self.config_parser.config_raw) self.island_client.import_config(self.config_parser.config_raw)
self.print_test_starting_info() self.print_test_starting_info()
try: try: