diff --git a/tests/client_generators/dependencies/test_base_model.py b/tests/client_generators/dependencies/test_base_model.py index c9dbe81c..39fc5ecc 100644 --- a/tests/client_generators/dependencies/test_base_model.py +++ b/tests/client_generators/dependencies/test_base_model.py @@ -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"}