Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
AronBuzogany committed Apr 6, 2024
1 parent 43fad2f commit 41d72f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/tests/endpoints/submissions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ def test_get_submission_correct(self, client: FlaskClient, session: Session):
assert response.status_code == 200
assert data["message"] == "Successfully fetched the submission"
assert data["data"] == {
"id": f"{API_HOST}/submissions/{submission.submission_id}",
"user": f"{API_HOST}/users/student01",
"project": f"{API_HOST}/projects/{project.project_id}",
"submission_id": f"{API_HOST}/submissions/{submission.submission_id}",
"uid": f"{API_HOST}/users/student01",
"project_id": f"{API_HOST}/projects/{project.project_id}",
"grading": 16,
"time": "Thu, 14 Mar 2024 12:00:00 GMT",
"status": 'SUCCESS'
"submission_time": "Thu, 14 Mar 2024 12:00:00 GMT",
"submission_status": 'SUCCESS'
}

### PATCH SUBMISSION ###
Expand Down

0 comments on commit 41d72f6

Please sign in to comment.