diff options
author | 2021-06-02 13:15:52 +0300 | |
---|---|---|
committer | 2021-06-02 13:15:52 +0300 | |
commit | be7038458046b0973b47eca3c0b45860968c7cbd (patch) | |
tree | 262275864fd4918bf7cb5a9b3ef6783f24d55068 | |
parent | Uses 422 For Failed Tests (diff) |
Documents Return Code
Adds a comment which explains when a certain return_code is used.
Co-authored-by: Joe Banks <[email protected]>
-rw-r--r-- | backend/routes/forms/submit.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/routes/forms/submit.py b/backend/routes/forms/submit.py index 4691640..a6c3fbd 100644 --- a/backend/routes/forms/submit.py +++ b/backend/routes/forms/submit.py @@ -195,6 +195,7 @@ class SubmitForm(Route): form.questions[test.question_index].data["unittests"]["allow_failure"] ) + # An error while communicating with the test runner if test.return_code == 99: failures.append(test) status_code = 500 |