Skip to content

Commit

Permalink
Update test_manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinchai committed Nov 21, 2023
1 parent b6d0f16 commit b082e5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/managers/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b082e5d

Please sign in to comment.