Project: Add `monkey/` to PYTHONPATH when running pytest

Without explicitly setting the python path, conftest.py can not find
common.*, monkey_island.*, or infection_monkey.*.
This commit is contained in:
Mike Salvatore 2022-06-22 07:31:05 -04:00
parent 05abc22ac0
commit 8e875143ac
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ log_cli_date_format = "%H:%M:%S"
addopts = "-v --capture=sys tests/unit_tests"
norecursedirs = "node_modules dist"
markers = ["slow: mark test as slow"]
pythonpath = "./monkey"
[tool.vulture]
exclude = ["monkey/monkey_island/cc/ui/", "monkey/tests/", "monkey/monkey_island/docs/"]