Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-sop committed Apr 5, 2023
1 parent 2262350 commit c6665db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/client_generators/dependencies/test_base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class TestModelA(BaseModel):

TestModelA.parse_obj(
{"value": "a", "field_b": {"value": "b", "field_c": {"value": "c"}}}
).dict()
)

assert mocked_parse.call_count == 3
assert {c.args[0] for c in mocked_parse.call_args_list} == {"a", "b", "c"}
Expand Down

0 comments on commit c6665db

Please sign in to comment.