Skip to content

Commit

Permalink
scripts/python/module/tox.ini: revise relative paths made available f…
Browse files Browse the repository at this point in the history
…or source testing [networkupstools#2186]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Nov 20, 2023
1 parent 04e4ccc commit 953ecda
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/python/module/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ envlist =

[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/src/PyNUTClient
PYTHONPATH = {toxinidir}:{toxinidir}/PyNUTClient

# On my system, some but not all Python versions complained about lack of
# "distutils.cmd" etc. in the prepared virtual environments. Can this help?
commands_pre =
python -m pip install -U pip

commands =
python src/PyNUTClient/test_nutclient.py
python PyNUTClient/test_nutclient.py
#py.test --basetemp={envtmpdir}

0 comments on commit 953ecda

Please sign in to comment.