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 a1ca3a8 commit 7b563a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,11 @@ def test_get_mantid_runners_bad_jwt(mock_post):


@patch("fia_api.core.services.job.get_experiments_for_user_number")
def test_get_jobs_as_user_flag_for_staff(mock_get_experiment_numbers_for_user_number):
@patch("fia_api.core.auth.tokens.requests.post")
def test_get_jobs_as_user_flag_for_staff(mock_post, mock_get_experiment_numbers_for_user_number):
"""Test get all jobs with as_user flag set to true and false for a staff user"""

mock_post.return_value.status_code = HTTPStatus.OK
x = 1
assert x == 1

Expand Down

0 comments on commit 7b563a6

Please sign in to comment.