Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Oct 18, 2023
1 parent fe88ab5 commit d24d4bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def test_studies_read_workflow(
resp = await client.get(f"/v0/studies/{inexistent_study_id}", auth=auth)
assert resp.status_code == status.HTTP_404_NOT_FOUND
error = parse_obj_as(ErrorGet, resp.json())
assert f"{inexistent_study_id}" in error.errors[0]
assert f"{inexistent_study_id}" in error.errors[0][0]["message"]

resp = await client.get(f"/v0/studies/{inexistent_study_id}/ports", auth=auth)
assert resp.status_code == status.HTTP_404_NOT_FOUND
Expand Down

0 comments on commit d24d4bf

Please sign in to comment.