diff options
author | Cole Robinson <crobinso@redhat.com> | 2023-05-06 16:50:20 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2023-05-06 16:50:20 -0400 |
commit | a9cf4945b1dcd45fb205c4adc6f555f2fc47ecfa (patch) | |
tree | 425c12c4e8f20a60c0af5cc2387dd244102dd086 | |
parent | 6030049cd7e24f59581b818c5da53665d0a76d6c (diff) | |
download | virt-manager-a9cf4945b1dcd45fb205c4adc6f555f2fc47ecfa.tar.gz |
tests: Default --uitests to --verbosity=2
Signed-off-by: Cole Robinson <crobinso@redhat.com>
-rw-r--r-- | tests/conftest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 3d1ca7d1..4a0fc1a0 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 |