Skip to content

Commit ec89286

Browse files
committed
➕ [#88] add pytest-env
1 parent 7ded5ba commit ec89286

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Documentation = "http://open_api_framework.readthedocs.io/en/latest/"
6868
tests = [
6969
"pytest",
7070
"pytest-django",
71+
"pytest-env",
7172
"tox",
7273
"isort",
7374
"black",
@@ -100,7 +101,10 @@ sections=["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER
100101
[tool.pytest.ini_options]
101102
testpaths = ["tests"]
102103
pythonpath = "."
103-
DJANGO_SETTINGS_MODULE = "testapp.settings"
104+
env = [
105+
"DJANGO_SETTINGS_MODULE=testapp.settings",
106+
"SECRET_KEY=not-so-secret",
107+
]
104108

105109
[tool.bumpversion]
106110
current_version = "0.9.2"

0 commit comments

Comments
 (0)