summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-12-12 20:08:03 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2020-12-12 20:08:03 +0000
commit425ffc9416391e5e41236708b655d941f560c661 (patch)
tree972089751344b0059610cd97f638b7a9306ac614
parent16ac829c8f902d847ba63604052cc16aa4bed9ce (diff)
downloadunit-425ffc9416391e5e41236708b655d941f560c661.tar.gz
unit-425ffc9416391e5e41236708b655d941f560c661.tar.bz2
Tests: hyphen sign used unstead of underscore as more common.
Diffstat (limited to '')
-rw-r--r--test/conftest.py4
-rw-r--r--test/pytest.ini2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/conftest.py b/test/conftest.py
index 5c8da65f..c14e3f68 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -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",
diff --git a/test/pytest.ini b/test/pytest.ini
index fe86cef2..8952e8c6 100644
--- a/test/pytest.ini
+++ b/test/pytest.ini
@@ -1,3 +1,3 @@
[pytest]
-addopts = -vvv -s --print_log
+addopts = -vvv -s --print-log
python_functions = test_*