Closed ncrocfer closed 1 year ago
This PR bumps the environs package so it removes the warning messages in pytest:
environs
Before
$ tests/test_api.py::test_pong -v [...] tests/test_api.py::test_pong /Users/ncrocfer/Dev/deploy/celery-director/venv/lib/python3.8/site-packages/marshmallow/fields.py:949: RemovedInMarshmallow4Warning: The 'missing' argument to fields is deprecated. Use 'load_default' instead. super().__init__(**kwargs) -- Docs: https://docs.pytest.org/en/latest/warnings.html ======================================================================== 1 passed, 41 warnings in 0.17s ========================================================================
After
$ pytest tests/test_api.py::test_pong -v tests/test_api.py . [100%] ============================================================================== 1 passed in 0.23s ===============================================================================
The v8.0.0 introduces a breaking change, so we have to have to add the .env file in our env_path variable during the Flask Config initialization.
.env
env_path
This PR bumps the
environs
package so it removes the warning messages in pytest:Before
After
The v8.0.0 introduces a breaking change, so we have to have to add the
.env
file in ourenv_path
variable during the Flask Config initialization.