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", help="Detailed output for tests",
) )
parser.addoption( parser.addoption(
"--print_log", "--print-log",
default=False, default=False,
action="store_true", action="store_true",
help="Print unit.log to stdout in case of errors", help="Print unit.log to stdout in case of errors",
) )
parser.addoption( parser.addoption(
"--save_log", "--save-log",
default=False, default=False,
action="store_true", action="store_true",
help="Save unit.log after the test execution", help="Save unit.log after the test execution",

View File

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