mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-16 12:02:11 +02:00
Examples: using pytest.ini from top level directory
This commit is contained in:
@ -1,24 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
|
||||||
python_files = pytest_*.py
|
|
||||||
|
|
||||||
addopts =
|
|
||||||
-s
|
|
||||||
--embedded-services esp,idf
|
|
||||||
-W ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
|
||||||
--tb short
|
|
||||||
|
|
||||||
# ignore DeprecationWarning
|
|
||||||
filterwarnings =
|
|
||||||
ignore:Call to deprecated create function (.*)\(\):DeprecationWarning
|
|
||||||
|
|
||||||
# log related
|
|
||||||
log_cli = True
|
|
||||||
log_cli_level = INFO
|
|
||||||
log_cli_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
|
||||||
|
|
||||||
log_file = test.log
|
|
||||||
log_file_level = INFO
|
|
||||||
log_file_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_file_date_format = %Y-%m-%d %H:%M:%S
|
|
@ -1,24 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
|
||||||
python_files = pytest_*.py
|
|
||||||
|
|
||||||
addopts =
|
|
||||||
-s
|
|
||||||
--embedded-services esp,idf
|
|
||||||
-W ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
|
||||||
--tb short
|
|
||||||
|
|
||||||
# ignore DeprecationWarning
|
|
||||||
filterwarnings =
|
|
||||||
ignore:Call to deprecated create function (.*)\(\):DeprecationWarning
|
|
||||||
|
|
||||||
# log related
|
|
||||||
log_cli = True
|
|
||||||
log_cli_level = INFO
|
|
||||||
log_cli_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
|
||||||
|
|
||||||
log_file = test.log
|
|
||||||
log_file_level = INFO
|
|
||||||
log_file_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_file_date_format = %Y-%m-%d %H:%M:%S
|
|
@ -1,24 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
|
||||||
python_files = pytest_*.py
|
|
||||||
|
|
||||||
addopts =
|
|
||||||
-s
|
|
||||||
--embedded-services esp,idf
|
|
||||||
-W ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
|
||||||
--tb short
|
|
||||||
|
|
||||||
# ignore DeprecationWarning
|
|
||||||
filterwarnings =
|
|
||||||
ignore:Call to deprecated create function (.*)\(\):DeprecationWarning
|
|
||||||
|
|
||||||
# log related
|
|
||||||
log_cli = True
|
|
||||||
log_cli_level = INFO
|
|
||||||
log_cli_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
|
||||||
|
|
||||||
log_file = test.log
|
|
||||||
log_file_level = INFO
|
|
||||||
log_file_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_file_date_format = %Y-%m-%d %H:%M:%S
|
|
@ -1,24 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
|
||||||
python_files = pytest_*.py
|
|
||||||
|
|
||||||
addopts =
|
|
||||||
-s
|
|
||||||
--embedded-services esp,idf
|
|
||||||
-W ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
|
||||||
--tb short
|
|
||||||
|
|
||||||
# ignore DeprecationWarning
|
|
||||||
filterwarnings =
|
|
||||||
ignore:Call to deprecated create function (.*)\(\):DeprecationWarning
|
|
||||||
|
|
||||||
# log related
|
|
||||||
log_cli = True
|
|
||||||
log_cli_level = INFO
|
|
||||||
log_cli_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
|
||||||
|
|
||||||
log_file = test.log
|
|
||||||
log_file_level = INFO
|
|
||||||
log_file_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_file_date_format = %Y-%m-%d %H:%M:%S
|
|
@ -1,24 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
|
||||||
python_files = pytest_*.py
|
|
||||||
|
|
||||||
addopts =
|
|
||||||
-s
|
|
||||||
--embedded-services esp,idf
|
|
||||||
-W ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
|
||||||
--tb short
|
|
||||||
|
|
||||||
# ignore DeprecationWarning
|
|
||||||
filterwarnings =
|
|
||||||
ignore:Call to deprecated create function (.*)\(\):DeprecationWarning
|
|
||||||
|
|
||||||
# log related
|
|
||||||
log_cli = True
|
|
||||||
log_cli_level = INFO
|
|
||||||
log_cli_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
|
||||||
|
|
||||||
log_file = test.log
|
|
||||||
log_file_level = INFO
|
|
||||||
log_file_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_file_date_format = %Y-%m-%d %H:%M:%S
|
|
@ -1,24 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
|
||||||
python_files = pytest_*.py
|
|
||||||
|
|
||||||
addopts =
|
|
||||||
-s
|
|
||||||
--embedded-services esp,idf
|
|
||||||
-W ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
|
||||||
--tb short
|
|
||||||
|
|
||||||
# ignore DeprecationWarning
|
|
||||||
filterwarnings =
|
|
||||||
ignore:Call to deprecated create function (.*)\(\):DeprecationWarning
|
|
||||||
|
|
||||||
# log related
|
|
||||||
log_cli = True
|
|
||||||
log_cli_level = INFO
|
|
||||||
log_cli_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
|
||||||
|
|
||||||
log_file = test.log
|
|
||||||
log_file_level = INFO
|
|
||||||
log_file_format = %(asctime)s %(levelname)s %(message)s
|
|
||||||
log_file_date_format = %Y-%m-%d %H:%M:%S
|
|
@ -8,7 +8,6 @@ addopts =
|
|||||||
-s
|
-s
|
||||||
--embedded-services esp,idf
|
--embedded-services esp,idf
|
||||||
--tb short
|
--tb short
|
||||||
--skip-check-coredump y
|
|
||||||
|
|
||||||
# ignore DeprecationWarning
|
# ignore DeprecationWarning
|
||||||
filterwarnings =
|
filterwarnings =
|
Reference in New Issue
Block a user