Summary
Add 10 fast unit tests covering gaps integration tests cannot hit: lazy-import dir/getattr helpers and injected-client connect() paths for Redis and MinIO adapters
Raise the combined coverage floor from 90% to 100% in pyproject.toml
Keep CRUD, context-manager, and example-repo coverage in integration tests — no duplicated mock-heavy adapter tests
Test plan
Summary
Add 10 fast unit tests covering gaps integration tests cannot hit: lazy-import __dir__/__getattr__ helpers and injected-client connect() paths for Redis and MinIO adapters
Raise the combined coverage floor from 90% to 100% in pyproject.toml
Keep CRUD, context-manager, and example-repo coverage in integration tests — no duplicated mock-heavy adapter tests
Test plan
uv run pytest tests/unit/ -v — 72 passed (~0.1s)
uv run pytest -m integration -v — 47 passed (~9s)
Combined coverage report — 100% (402/402 statements)
Add fast unit tests for lazy-import helpers and injected-client connect paths that integration tests miss, and raise the coverage floor to 100%.
Co-authored-by: Cursor <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Add 10 fast unit tests covering gaps integration tests cannot hit: lazy-import dir/getattr helpers and injected-client connect() paths for Redis and MinIO adapters
Raise the combined coverage floor from 90% to 100% in pyproject.toml
Keep CRUD, context-manager, and example-repo coverage in integration tests — no duplicated mock-heavy adapter tests
Test plan
uv run pytest tests/unit/ -v — 72 passed (~0.1s)
uv run pytest -m integration -v — 47 passed (~9s)
Combined coverage report — 100% (402/402 statements)
Test Coverage Report:
Test Coverage Report: