Skip to content

Commit

Permalink
updates test to ensure worker access via API
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpassmore committed Aug 7, 2024
1 parent 5250537 commit 99fc1a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchestration-service/test/test_no_auth_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def setup_module():
return setup

def test_api_calls(setup_module):
"""Run through all API calls and make sure they fail with 403"""
"""Run through all API calls and make sure they go through"""
cntx = setup_module

params = { 'nextjob': 1, 'sliceid': 3 }
Expand All @@ -38,4 +38,4 @@ def test_api_calls(setup_module):
params=params,
timeout=3,
headers=cntx['json_headers'])
assert response.status_code == 403
assert response.status_code == 200

0 comments on commit 99fc1a0

Please sign in to comment.