Run pytest with --log-level=debug in tox and CI

This way, our log messages (and those from our stack) will show up in
case of errors or test failures, which makes debugging easier.
This commit is contained in:
Denis Laxalde 2023-10-02 14:25:03 +02:00
parent ea92809cb3
commit fea89041b8

View file

@ -8,7 +8,7 @@ deps =
pytest
pytest-mock
commands =
pytest {toxinidir}/check_patroni {toxinidir}/tests {posargs:-vv}
pytest {toxinidir}/check_patroni {toxinidir}/tests {posargs:-vv --log-level=debug}
[testenv:lint]
skip_install = True