Tests: hyphen sign used unstead of underscore as more common.
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
[pytest]
|
[pytest]
|
||||||
addopts = -vvv -s --print_log
|
addopts = -vvv -s --print-log
|
||||||
python_functions = test_*
|
python_functions = test_*
|
||||||
|
|||||||
Reference in New Issue
Block a user