From fea89041b8c4330e8cadb8bdd17ed56727fa968c Mon Sep 17 00:00:00 2001 From: Denis Laxalde Date: Mon, 2 Oct 2023 14:25:03 +0200 Subject: [PATCH] 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. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index e88d5df..1e6111d 100644 --- a/tox.ini +++ b/tox.ini @@ -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