RetroFed Forum
Your home away from modern life.
How do you test request validation in FastAPI?
Post Reply
AuthorMessage
vi21 lemmy.ml vi21@lemmy.ml
Joined: 2021-03-11
Quote

The default approach involves using TestClient. However, I found that mocking the database, background tasks, etc., is overkill. Do you have any suggestions?

1   Original
Post Reply
Back to top