Files
AIPass/src/aipass/api/tests
AIOSAIandClaude Opus 4.6 49abd6eaf3 feat(api): DPLAN-0141 — reach 100% seedgo (34/34 standards)
Proper fixes, not lazy bypasses:
- Created CLAUDE.md from builder template (architecture compliance)
- Added handle_command() + help/introspection gates to bridge.py and
  registry.py (modules + introspection compliance)
- Removed reset() from registry.py — tests use monkeypatch instead
- Rewrote test_integrations.py to use monkeypatch for _loaded reset
- Added 3 architecture bypasses for integration driver test fixtures
  (apps/integrations/broken_driver, stress_test, no_register) — genuine
  architectural constraint per DPLAN-0133, loaded via importlib
- Added 1 unused_function bypass for fetch_contracts/call_contract in
  integrations_manager.py — test API hooks required by encapsulation
  standard (tests must go through module layer, not import handlers)

Seedgo: 100% overall, 34/34 at 100%. 306 tests, zero regressions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-22 11:34:24 -07:00
..

Tests

Pytest unit tests for API.

  • conftest.py — Shared fixtures (temp dirs, mocks, sample data).
  • test_*.py — Test files. Standard tests cover JSON handler, CLI routing, and error resilience. Custom tests cover branch-specific domain logic.