For every tool in server/gitea_mcp.py, assert:
server/gitea_mcp.py
RuntimeError
Depends on #15 (infrastructure).
One test file per category (matches CLAUDE.md layout):
CLAUDE.md
test_meta.py
test_repos.py
test_branches.py
test_files.py
test_issues.py
test_labels_milestones.py
test_pull_requests.py
test_releases.py
test_webhooks.py
test_users_orgs.py
test_commits.py
test_notifications.py
uv run pytest tests/unit/ -v
uv run pytest --cov=server --cov-report=term-missing
No dependencies set.
The note is not visible to the blocked user.
Goal
For every tool in
server/gitea_mcp.py, assert:RuntimeErrorwith status codeDepends on #15 (infrastructure).
Scope
One test file per category (matches
CLAUDE.mdlayout):test_meta.pytest_repos.pytest_branches.pytest_files.pytest_issues.pytest_labels_milestones.pytest_pull_requests.pytest_releases.pytest_webhooks.pytest_users_orgs.pytest_commits.pytest_notifications.pyAcceptance criteria
uv run pytest tests/unit/ -vpassesuv run pytest --cov=server --cov-report=term-missingshows ≥ 90 % line coverage onserver/gitea_mcp.py