fastapi / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
27.95k stars 5k forks source link

⚡️ Improve backend test performance by patching password hashing #1389

Open saltie2193 opened 1 month ago

saltie2193 commented 1 month ago

Improve performance of backend tests by patching password hashing during tests.

NOTE: To reduce interference with preexisting data, all existing users and items are now deleted before the tests are run. This should not be noticable outside of testing, since all users and items already have been deleted after testing anyway.