Skip to content

Commit

Permalink
debt(all): remove pydantic v1 dependencies in tests as well
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoPascoli committed Feb 13, 2025
1 parent 1a0259f commit 9f94415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/storage/web/test_studies_bp.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def test_sim_result() -> None:

client = create_test_client(mock_service, raise_server_exceptions=False)
res = client.get(f"/v1/studies/{study_id}/outputs")
actual_object = [StudySimResultDTO.parse_obj(res.json()[0])]
actual_object = [StudySimResultDTO.model_validate(res.json()[0])]
assert actual_object == result_data


Expand Down

0 comments on commit 9f94415

Please sign in to comment.