fix: add pytest-asyncio dependency for async realtime tests

This commit is contained in:
Justin Gu
2026-06-11 04:03:00 +08:00
parent 15cc7680c4
commit 193d1b0d82
+2 -1
View File
@@ -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"]