Use the 'test' extra in Tox's test environment

Instead of repeating the dependencies.
This commit is contained in:
Denis Laxalde 2023-10-03 15:42:53 +02:00
parent 2d2c389bdb
commit 32e06f7051

View file

@ -4,9 +4,7 @@ envlist = lint, mypy, py{37,38,39,310,311}
skip_missing_interpreters = True
[testenv]
deps =
pytest
pytest-mock
extras = test
commands =
pytest {toxinidir}/check_patroni {toxinidir}/tests {posargs:-vv --log-level=debug}