[test] add pytest framework prototype
This commit is contained in:
parent
06e2239b70
commit
1dfc2c41ec
14
pytest.ini
Normal file
14
pytest.ini
Normal 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
|
Loading…
x
Reference in New Issue
Block a user