Skip to content

Commit 00736a2

Browse files
committed
tox: run tests with python warnings enabled
This allows to see deprecation warnings. Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
1 parent c715bfb commit 00736a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ setenv =
1414
master: LIBYANG_BRANCH=master
1515
devel: LIBYANG_BRANCH=devel
1616
install_command = {toxinidir}/tox-install.sh {envdir} {opts} {packages}
17-
commands = python -m unittest discover -c
17+
commands = python -Wd -m unittest discover -c
1818

1919
[testenv:coverage]
2020
changedir = .
2121
deps = coverage
2222
install_command = {toxinidir}/tox-install.sh {envdir} {opts} {packages}
2323
commands =
24-
python -m coverage run -m unittest discover -c tests/
24+
python -Wd -m coverage run -m unittest discover -c tests/
2525
python -m coverage report
2626
python -m coverage html
2727
python -m coverage xml

0 commit comments

Comments
 (0)