Skip to content

Commit 0455bde

Browse files
committed
Update test_core.py
1 parent ec392bb commit 0455bde

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/e2e/test_core.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -685,14 +685,8 @@ def test_get_jobs_as_user_flag_for_staff(mock_post, mock_get_all_jobs):
685685
},
686686
]
687687

688-
# mock_post.return_value.status_code = (
689-
# HTTPStatus.OK
690-
# ) # mock_get_experiment_numbers_for_user_number.return_value = [1820497]
691-
692688
response_as_user = client.get("/jobs?as_user=true", headers={"Authorization": f"Bearer {STAFF_TOKEN}"})
693-
# assert response_as_user.status_code == HTTPStatus.OK
694689

695690
response_not_as_user = client.get("/jobs?as_user=false", headers={"Authorization": f"Bearer {STAFF_TOKEN}"})
696-
# assert response_not_as_user.status_code == HTTPStatus.OK
697691

698692
assert len(response_as_user.json()) == len(response_not_as_user.json())

0 commit comments

Comments
 (0)