Skip to content

Commit

Permalink
Update test_core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dagonite committed Feb 10, 2025
1 parent be35575 commit b55aeb6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test/e2e/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,3 +669,24 @@ def test_get_jobs_as_user_flag_for_staff(mock_post, mock_get_all_jobs, mock_get_
x = 1
assert x == 1
mock_post.return_value.status_code = HTTPStatus.OK

mock_get_all_jobs.return_value = [
{
"id": 1234,
"state": "COMPLETED",
"inputs": {},
"outputs": None,
"start": None,
"end": None,
"type": "JobType.AUTOREDUCTION",
},
{
"id": 5678,
"state": "FAILED",
"inputs": {},
"outputs": None,
"start": None,
"end": None,
"type": "JobType.AUTOREDUCTION",
},
]

0 comments on commit b55aeb6

Please sign in to comment.