Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] fastapi: partner env for tests
`partner` record leaks default env and even if you specify `default_fastapi_running_user` to be custom user, when running tests, running env will still have default (superuser), which makes testing outcomes very different than you might expect. Setting `partner` to use env with specified user, makes sure it won't leak from there.
- Loading branch information