Skip to content

Commit 3b19397

Browse files
committed
Update test_core.py
1 parent e4ac307 commit 3b19397

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/e2e/test_core.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,3 +686,8 @@ def test_get_jobs_as_user_flag_for_staff(mock_get_all_jobs):
686686
"type": "JobType.AUTOREDUCTION",
687687
},
688688
]
689+
690+
response_as_user = client.get("/jobs?as_user=true", headers={"Authorization": f"Bearer {STAFF_TOKEN}"})
691+
692+
y = 2
693+
assert len(response_as_user.status_code) == y

0 commit comments

Comments
 (0)