From 193d1b0d82ee6603e492d42edd535d431ec9200c Mon Sep 17 00:00:00 2001 From: Justin Gu <97915@qq.com> Date: Thu, 11 Jun 2026 04:03:00 +0800 Subject: [PATCH] fix: add pytest-asyncio dependency for async realtime tests --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 175c288..e51d67f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ dependencies = ["pandas>=2.0", "tzdata>=2024.1", "click>=8.0"] easy-tdx = "easy_tdx.cli:cli" # cli/__init__.py exposes the click group [project.optional-dependencies] -dev = ["pytest>=8.0", "pytest-cov", "mypy>=1.9", "ruff>=0.4"] +dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "pytest-cov", "mypy>=1.9", "ruff>=0.4"] [tool.hatch.build.targets.wheel] packages = ["src/easy_tdx"] @@ -41,6 +41,7 @@ select = ["E", "F", "I", "UP"] [tool.pytest.ini_options] testpaths = ["tests"] addopts = "--tb=short" +asyncio_mode = "auto" [tool.coverage.run] source = ["easy_tdx"]