Skip to content

Commit

Permalink
fix wrong expected status in e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvalyaron committed Jan 31, 2023
1 parent b2e7a47 commit 35dd675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e_tests/resources/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async def get_resource(endpoint, access_token, verify):
auth_headers = get_auth_header(access_token)

response = await client.get(full_endpoint, headers=auth_headers, timeout=TIMEOUT)
assert_status(response, [status.HTTP_202_ACCEPTED], f"Failed to GET {full_endpoint}")
assert_status(response, [status.HTTP_200_OK], f"Failed to GET {full_endpoint}")

return response.json()

Expand Down

0 comments on commit 35dd675

Please sign in to comment.