mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-29 08:59:31 +00:00
6 E2E tests covering the full skill credential lifecycle via the gateway API: - test_github_skill_loaded: github skill with credential spec loaded - test_no_github_token_initially: no stored secrets before auth - test_http_tool_returns_auth_required: http tool signals missing cred - test_guided_auth_flow: request → auth prompt → paste token → retry - test_auth_required_sse_event: SSE stream includes auth/skill events - test_different_users_isolated: per-user credential scoping Includes mock API server (aiohttp) requiring Bearer auth with token tracking for assertions. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>