From b082e5d083c354b7326bdb48088f05bfe1e3e065 Mon Sep 17 00:00:00 2001 From: Calvin Chai <65367327+nightdawnex@users.noreply.github.com> Date: Tue, 21 Nov 2023 13:59:10 -0500 Subject: [PATCH] Update test_manager.py --- core/managers/test_manager.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/managers/test_manager.py b/core/managers/test_manager.py index 687c6a1..1d66b5c 100644 --- a/core/managers/test_manager.py +++ b/core/managers/test_manager.py @@ -39,6 +39,9 @@ def new_test(self, *args, **kwargs): def fail_all(self, msg: str): self.append_output(msg) + for test_case in self.test_cases: + test_case.score = 0 + test_case.status = "failed" self.score = 0 pass