pydantic-core icon indicating copy to clipboard operation
pydantic-core copied to clipboard

Convert tests to use schema functions

Open adriangb opened this issue 2 years ago • 1 comments

A lot of our tests use plain dicts. This makes them brittle and hard to refactor. We should convert from {'type': 'str'} -> core_schema.str_schema().

Selected Assignee: @davidhewitt

adriangb avatar Jul 27 '23 11:07 adriangb

This is going to be incredibly laborious 😭

sydney-runkle avatar Aug 16 '24 16:08 sydney-runkle

Done in #1631, thanks @mikeedjones!

davidhewitt avatar Feb 11 '25 09:02 davidhewitt