atst/pytest.ini
Patrick Smith e7ae991e93 Add pytest-env to fix pipenv run pytest command
Previously tests would fail when `pipenv run pytest` was run because the
`FLASK_ENV` was not set. Rather than having to remember to run
`FLAKS_ENV=test pipenv run pytest`, we can use `pytest-env` to set the
env variable. The `D:` prefix tells `pytest-env` to not override an
existing value for the variable.
2018-08-21 16:03:10 -04:00

5 lines
74 B
INI

[pytest]
norecursedirs = .venv .git node_modules
env =
D:FLASK_ENV=test