From b13913036624122332780a753e179dbf48fa999f Mon Sep 17 00:00:00 2001 From: Drew Reed Date: Thu, 4 Aug 2022 10:44:00 +0100 Subject: [PATCH] Fix a bug when using junit output Correct the name of the module being looked for in the assert at the beginning of the junit output function. Signed-off-by: Drew Reed --- parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.py b/parser.py index cee31a3..ea2cea0 100755 --- a/parser.py +++ b/parser.py @@ -529,7 +529,7 @@ def gen_json(cross_check, filename): # Generate junit def gen_junit(cross_check, filename): - assert('junit-xml' in sys.modules) + assert('junit_xml' in sys.modules) logging.debug(f'Generate {filename}') testsuites = {} -- GitLab