docs-v2/test/pytest/pytest.ini

17 lines
581 B
INI

# pytest configuration file
[pytest]
# Collect tests.
# Collect tests from files matching file name pattern.
python_files = *_test.py *_test_sh.py
# Collect classes with names ending in Test.
python_classes = *Test
# Collect all functions.
python_functions = *
filterwarnings = ignore::pytest.PytestReturnNotNoneWarning
# Log settings.
log_file = /shared/tests_run.log
log_file_date_format = %Y-%m-%d %H:%M:%S
log_file_format = %(asctime)s - %(name)s %(levelname)s %(message)s
# INFO level log messages for extracting authentication URLs output during tests.
log_file_level = INFO