From 91ac52de5fd7c154151d1ae79a805ef98614fca9 Mon Sep 17 00:00:00 2001 From: lhl Date: Sat, 29 Aug 2026 11:42:05 +0800 Subject: [PATCH] =?UTF-8?q?chore(test):=20=E5=A3=B0=E6=98=8E=20pytest-asyn?= =?UTF-8?q?cio=20=E4=BE=9D=E8=B5=96=E5=B9=B6=E5=90=AF=E7=94=A8=20asyncio?= =?UTF-8?q?=5Fmode=3Dauto=EF=BC=88Task1=20=E5=BC=82=E6=AD=A5=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=8F=AF=E5=A4=8D=E7=8E=B0=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5e86658..360f0c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,13 +22,14 @@ dependencies = [ ] [project.optional-dependencies] -dev = ["pytest>=8.0", "pytest-cov>=7.0"] +dev = ["pytest>=8.0", "pytest-cov>=7.0", "pytest-asyncio>=0.23"] [tool.setuptools.packages.find] where = ["src"] [tool.pytest.ini_options] testpaths = ["tests"] +asyncio_mode = "auto" addopts = "--cov=genesis --cov-report=term-missing" norecursedirs = ["*.egg-info", "coverage", "test-execution-log.txt"]