test: fix incorrect error type in xunit result
This commit is contained in:
parent
fd481d9cdd
commit
45a50ed701
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ def run_one_normal_case(dut, one_case, junit_test_case):
|
||||||
err_msg = "Reset Check Failed: \r\n\tExpected: {}\r\n\tGet: {}".format(one_case["reset"],
|
err_msg = "Reset Check Failed: \r\n\tExpected: {}\r\n\tGet: {}".format(one_case["reset"],
|
||||||
exception_reset_list)
|
exception_reset_list)
|
||||||
Utility.console_log(err_msg, color="orange")
|
Utility.console_log(err_msg, color="orange")
|
||||||
junit_test_case.add_error_info(err_msg)
|
junit_test_case.add_failure_info(err_msg)
|
||||||
one_case_finish(result)
|
one_case_finish(result)
|
||||||
|
|
||||||
while not test_finish:
|
while not test_finish:
|
||||||
|
|
Loading…
Reference in a new issue