From a9cf4945b1dcd45fb205c4adc6f555f2fc47ecfa Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sat, 6 May 2023 16:50:20 -0400 Subject: [PATCH] tests: Default --uitests to --verbosity=2 Signed-off-by: Cole Robinson --- tests/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 3d1ca7d15..4a0fc1a02 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -40,6 +40,10 @@ def pytest_addoption(parser): def pytest_ignore_collect(path, config): uitests_requested = config.getoption("--uitests") + # Default --uitests to --verbosity=2 + if uitests_requested: + config.option.verbose = max(2, config.option.verbose) + # Unless explicitly requested, ignore these tests if "test_dist.py" in str(path): return True