test: migrate to pytest

Replace unittest-based coverage with pytest and update CI/docs to run the new suite.
This commit is contained in:
2026-02-04 19:34:44 +03:00
parent 5bb8405340
commit d89ebcaf64
7 changed files with 705 additions and 352 deletions

View File

@@ -27,9 +27,14 @@ ctfd-mcp = "ctfd_mcp.main:main"
[dependency-groups]
dev = [
"pre-commit>=3.6.0",
"pytest>=8.0.0",
"ruff>=0.5.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src", "."]
[tool.ruff]
line-length = 88
target-version = "py313"