generated from br3ndonland/template-python
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for start.py start_server()
- Add `PROCESS_MANAGER` environment variable: previously, the process manager was determined by the environment variable `WITH_RELOAD`. `WITH_RELOAD="true"` would start Uvicorn alone with reloading, or `WITH_RELOAD="false"` would run Uvicorn with Gunicorn as process manager without reloading. - Reconfigure start.py `start_server()` for process managers - Update README for new `PROCESS_MANAGER` environment variable - Update debugger config for new `PROCESS_MANAGER` environment variable - Add tests for start.py `start_server()` - Parametrize tests for all app modules (Base ASGI, FastAPI, Starlette)
- Loading branch information
1 parent
5821174
commit 92e6b68
Showing
4 changed files
with
150 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters