Skip to content

Unit Test Results

Sandeep Bazar edited this page Jul 27, 2026 · 1 revision

ocm-mcp-server - unit tests & coverage

Verdict: 🟢 ALL PASSING  ·  generated 2026-07-27 15:13:28 UTC  ·  Python 3.14.0, all cluster interactions mocked

Tests Passed Failed Skipped Runtime Statement coverage Branch coverage
346 346 0 0 1.26s 100.0% 100.0%

Reproduce locally with make test-report - runs the full suite with branch coverage and refreshes this page, the coverage badge, and the browsable HTML coverage report in .unit-report/htmlcov/. CI enforces a 95% floor (--cov-fail-under) on every push and pull request.

Coverage by module

Module Statements Missed Branches Missed Coverage
__init__.py 1 0 0 0 100.0%
approvals.py 204 0 54 0 100.0%
cli.py 166 0 40 0 100.0%
config.py 79 0 12 0 100.0%
filelock.py 20 0 2 0 100.0%
guardrails.py 159 0 96 0 100.0%
k8s.py 38 0 6 0 100.0%
metrics.py 44 0 8 0 100.0%
ocm.py 442 0 156 0 100.0%
server.py 350 0 58 0 100.0%
tracing.py 141 0 38 0 100.0%

Total: 1644 statements, 470 branches - 100.0% covered.

See also: end-to-end fleet test results - a real kind fleet driven through every tool, the approval gate, and a break/fix loop.

Clone this wiki locally