From 425ffc9416391e5e41236708b655d941f560c661 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Sat, 12 Dec 2020 20:08:03 +0000 Subject: [PATCH] Tests: hyphen sign used unstead of underscore as more common. --- test/conftest.py | 4 ++-- 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_*