feat: add pytest in dev

This commit is contained in:
tao.chen
2026-08-12 12:21:48 +08:00
parent e23df83e0d
commit a378ea5352
5 changed files with 123 additions and 0 deletions
+11
View File
@@ -29,5 +29,16 @@ default = true
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"respx>=0.23.1",
]
[tool.hatch.build.targets.wheel]
packages = ["src/backend"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]