From de4bf296547a5f17e2012336ad09c16f41ec2097 Mon Sep 17 00:00:00 2001 From: Joe Ethier Date: Fri, 4 May 2018 15:26:22 -0700 Subject: [PATCH] Fix a bug w/ colorama usage for test outcomes. (#775) --- openhtf/core/test_descriptor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhtf/core/test_descriptor.py b/openhtf/core/test_descriptor.py index c163fbebf..c5f083ef1 100644 --- a/openhtf/core/test_descriptor.py +++ b/openhtf/core/test_descriptor.py @@ -309,7 +309,7 @@ def trigger_phase(test): for detail in final_state.test_record.outcome_details: console_output.error_print(detail.description) else: - colors = collections.defaultdict(lambda: 'colorama.Style.BRIGHT') + colors = collections.defaultdict(lambda: colorama.Style.BRIGHT) colors[test_record.Outcome.PASS] = ''.join((colorama.Style.BRIGHT, colorama.Fore.GREEN)) colors[test_record.Outcome.FAIL] = ''.join((colorama.Style.BRIGHT,