Skip to content

Commit

Permalink
ODE-1250 update test harness
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwartz-Matthew-bah committed May 15, 2019
1 parent 87ce204 commit 8c85f34
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions qa/test-harness/testharness.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ def run(self):
print("[END] File validation complete.")

def print_results_to_file(self):
logger = logging.getLogger('test-harness')
logger.setLevel(logging.INFO)
logger.addHandler(logging.FileHandler(self.output_file_path, 'w'))
printer = ValidationResultPrinter()
printer.print_list(self.validation_results)
# logger = logging.getLogger('test-harness')
# logger.setLevel(logging.INFO)
# logger.addHandler(logging.FileHandler(self.output_file_path, 'w'))
# logger.info(yaml.dump(self.validation_results))
printer.print_list(self.validation_results, True, logger)


class TestHarness:
def __init__(self, config_file_path):
Expand Down

0 comments on commit 8c85f34

Please sign in to comment.