Skip to content

Commit

Permalink
failures log level
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiitk committed Jan 18, 2024
1 parent 9dd4ff7 commit fe4a237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/test_cases/base_testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ def run(self, result: Optional[unittest.TestResult] = None) -> None:
)
# Assume one test case will only have one status.
if test_errors or test_failures:
logging.info("----- TestCase %s FAILED -----", self.test_name)
logging.error("----- TestCase %s FAILED -----", self.test_name)
if test_errors:
self._print_error_list(test_errors, is_unexpected_error=True)
if test_failures:
self._print_error_list(test_failures)
elif test_unexpected_successes:
logging.info(
logging.error(
"----- TestCase %s UNEXPECTEDLY SUCCEEDED -----\n",
self.test_name,
)
Expand Down

0 comments on commit fe4a237

Please sign in to comment.