summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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_*