Tests: hyphen sign used unstead of underscore as more common.

This commit is contained in:
Andrei Zeliankou
2020-12-12 20:08:03 +00:00
parent 16ac829c8f
commit 425ffc9416
2 changed files with 3 additions and 3 deletions

View File

@@ -31,13 +31,13 @@ def pytest_addoption(parser):
help="Detailed output for tests",
)
parser.addoption(
"--print_log",
"--print-log",
default=False,
action="store_true",
help="Print unit.log to stdout in case of errors",
)
parser.addoption(
"--save_log",
"--save-log",
default=False,
action="store_true",
help="Save unit.log after the test execution",

View File

@@ -1,3 +1,3 @@
[pytest]
addopts = -vvv -s --print_log
addopts = -vvv -s --print-log
python_functions = test_*