hermes-hub/tests
Hermes Team 8db5c46515 test(ci): add import invariants, repair DeepSeek adapter, guard headless runs
deepseek_adapter.py had never been importable: it referenced ProviderAdapter
and ProfileConfig, neither of which exists in src/, and profile.extra, which
RouterProfileConfig does not define. Rewritten against BaseProviderAdapter with
the three missing abstract methods and registered as "deepseek".

Adds tests/test_import_invariants.py, which walks every shipped module and
fails on broken internal references while skipping absent optional GUI extras.
It also asserts that test modules importing customtkinter call
pytest.importorskip, since a missing guard aborts collection of the whole
session and takes the release gate with it.

Adds a headless CI job that uninstalls customtkinter and runs the suite, so
that invariant is enforced rather than remembered.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-20 22:13:54 +07:00
..
conftest.py feat(hub): Plan A stabilization, refresh architecture, delta UI, and capability routing 2026-08-20 21:20:51 +07:00
test_accounts_tariffs_quotas.py feat: multi-provider accounts, tariffs, quota buckets, Claude & Grok integration 2026-08-20 21:02:13 +07:00
test_codex_opencode_wizard.py feat(wizard): support Codex OAuth/API Key & OpenCode Go with clipboard UX 2026-08-20 20:31:59 +07:00
test_import_invariants.py test(ci): add import invariants, repair DeepSeek adapter, guard headless runs 2026-08-20 22:13:54 +07:00
test_installer.py feat(release): recovery stabilization, built-in updater, release gate, and v0.1.1 release pipeline 2026-08-20 16:29:35 +07:00
test_multi_provider_router.py feat: initialize standalone Hermes Hub 2026-08-20 00:17:11 +07:00
test_oauth_lifecycle.py feat(oauth): adopt Cockpit Tools model with immediate URL readiness, manual callback fallback, and race protection 2026-08-20 20:17:37 +07:00
test_p0_release_gate.py fix: update canonical installer with dependency resolution and close release blockers 2026-08-20 18:17:08 +07:00
test_plan_a_stabilization_and_smart_routing.py feat(hub): Plan A stabilization, refresh architecture, delta UI, and capability routing 2026-08-20 21:20:51 +07:00
test_roadmap_features.py feat(release): recovery stabilization, built-in updater, release gate, and v0.1.1 release pipeline 2026-08-20 16:29:35 +07:00
test_ui_refinement.py fix(router): address review findings B1-B4 and S1-S9 with full regression suite 2026-08-20 17:04:49 +07:00
test_unified_health.py feat(release): recovery stabilization, built-in updater, release gate, and v0.1.1 release pipeline 2026-08-20 16:29:35 +07:00
test_updater.py fix: update canonical installer with dependency resolution and close release blockers 2026-08-20 18:17:08 +07:00