mirror of
https://ghfast.top/https://github.com/aeroxw/easy-tdx.git
synced 2026-09-12 15:44:15 +08:00
fix: add pytest-asyncio dependency for async realtime tests
This commit is contained in:
+2
-1
@@ -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
|
easy-tdx = "easy_tdx.cli:cli" # cli/__init__.py exposes the click group
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[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]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["src/easy_tdx"]
|
packages = ["src/easy_tdx"]
|
||||||
@@ -41,6 +41,7 @@ select = ["E", "F", "I", "UP"]
|
|||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
addopts = "--tb=short"
|
addopts = "--tb=short"
|
||||||
|
asyncio_mode = "auto"
|
||||||
|
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
source = ["easy_tdx"]
|
source = ["easy_tdx"]
|
||||||
|
|||||||
Reference in New Issue
Block a user