mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-03 01:18:00 +03:00
tests: Default --uitests to --verbosity=2
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
6030049cd7
commit
a9cf4945b1
@ -40,6 +40,10 @@ def pytest_addoption(parser):
|
|||||||
def pytest_ignore_collect(path, config):
|
def pytest_ignore_collect(path, config):
|
||||||
uitests_requested = config.getoption("--uitests")
|
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
|
# Unless explicitly requested, ignore these tests
|
||||||
if "test_dist.py" in str(path):
|
if "test_dist.py" in str(path):
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user