[test] add pytest framework prototype

This commit is contained in:
xyuzh 2025-03-09 00:08:49 -08:00
parent 06e2239b70
commit 1dfc2c41ec

14
pytest.ini Normal file
View File

@ -0,0 +1,14 @@
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Log settings
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Make sure asyncio works properly
asyncio_mode = auto