diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2020-12-12 20:08:03 +0000 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2020-12-12 20:08:03 +0000 |
commit | 425ffc9416391e5e41236708b655d941f560c661 (patch) | |
tree | 972089751344b0059610cd97f638b7a9306ac614 /test | |
parent | 16ac829c8f902d847ba63604052cc16aa4bed9ce (diff) | |
download | unit-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.py | 4 | ||||
-rw-r--r-- | test/pytest.ini | 2 |
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_* |