Skip to content

Commit

Permalink
Drop src from pytest pythonpath option
Browse files Browse the repository at this point in the history
There is no sense to have `src` in pythonpath since compiled collectd_rest.rrd
sharded object cannot be imported.
  • Loading branch information
matwey committed Sep 9, 2024
1 parent 64a06ed commit 21132c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ wheel.packages = ["src/collectd_rest"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
django_find_project = false
pythonpath = ". src"
pythonpath = "."
testpaths = [
"src/collectd_rest",
"tests",
Expand Down

0 comments on commit 21132c0

Please sign in to comment.