feat: add pytest-asyncio, freezegun, schemathesis, pytest-cov to test toolchain

This commit is contained in:
2026-04-09 12:40:59 -04:00
parent 44de453bb2
commit 310c2a1fbe
5 changed files with 298 additions and 0 deletions

View File

@@ -30,16 +30,31 @@ dev = [
"pip-audit>=2.0",
"httpx>=0.27.0",
"hypothesis>=6.0",
"pytest-cov>=7.0",
"pytest-asyncio>=1.0",
"freezegun>=1.5",
"schemathesis>=4.0",
]
[project.scripts]
decnet = "decnet.cli:app"
[tool.pytest.ini_options]
asyncio_mode = "auto"
filterwarnings = [
"ignore::pytest.PytestUnhandledThreadExceptionWarning",
"ignore::DeprecationWarning",
]
[tool.coverage.run]
source = ["decnet"]
omit = ["*/tests/*", "templates/*"]
[tool.coverage.report]
show_missing = true
skip_covered = false
# Run with: pytest --cov --cov-report=term-missing
[tool.setuptools.packages.find]
where = ["."]
include = ["decnet*"]