Skip to content

Commit 428dfc2

Browse files
committed
pytest: add src to PYTHONPATH
1 parent db50abf commit 428dfc2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ write_to = "src/python_training_project/version.py"
5454
[tool.pytest.ini_options]
5555
minversion = "6.0"
5656
addopts = "--cov --cov-report term --cov-report xml --junitxml=build/test-report.xml"
57+
pythonpath = [
58+
"src",
59+
]
5760
testpaths = [
5861
"tests",
5962
]

0 commit comments

Comments
 (0)