From 1dfc2c41ec1803f610d0cf532c4451841b4e412c Mon Sep 17 00:00:00 2001 From: xyuzh Date: Sun, 9 Mar 2025 00:08:49 -0800 Subject: [PATCH] [test] add pytest framework prototype --- pytest.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..465d383 --- /dev/null +++ b/pytest.ini @@ -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 \ No newline at end of file