erhosen-libs / pydjantic

Use Pydantic Settings in your Django application.
MIT License
37 stars 9 forks source link

bug in test_exact(): change BaseSettings to BaseDBConfig #20

Closed andrey-lepekhin closed 11 months ago

andrey-lepekhin commented 11 months ago

https://github.com/erhosen-libs/pydjantic/blob/e7c4565d57db2864dddb7125fffa587b92c337c4/tests/test_db_config.py#L79

Right now we're testing Pydantic's serialization only with no Pydjantic code. It should be DatabaseConfig(BaseDBConfig).