fix(system): S61-S62 — API cleanup, drone path routing, naming checker, .backup→.recovery rename (#142)
- API: 18-item P0/P1/P2 cleanup (debug prints→logger, help gate fix, URL injection fix, key masking, unused imports) - Drone: passport walk-up replaces hardcoded src/aipass/<branch> pattern, 13 naming bypasses removed - Seedgo: naming checker fixed (__dunder__ skip + column-0 scope detection) — eliminates 71 false positives system-wide - Spawn: .backup→.recovery rename (pre-change snapshots no longer conflict with backup branch namespace) - .gitignore: .recovery/ added - HERALD.md: Updated through S62 (backup audit, .recovery rename, night shift launch) - README.md: Stats updated (141 PRs, 2900+ tests) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
ae459853f0
commit
6772cacce2
@@ -137,10 +137,10 @@ def test_handle_command_routes_reauth_google(
|
||||
def test_handle_command_help_gate(
|
||||
_warn, _err, _succ, _hdr, _json, _retry, _factory, _auth, mock_console
|
||||
):
|
||||
"""handle_command prints help when args=['--help'] and returns True."""
|
||||
"""handle_command prints help when args=['google', '--help'] and returns True."""
|
||||
from aipass.api.apps.modules import google_client
|
||||
|
||||
result = google_client.handle_command("validate", ["--help"])
|
||||
result = google_client.handle_command("validate", ["google", "--help"])
|
||||
|
||||
assert result is True
|
||||
# print_help calls console.print with the argparse output
|
||||
|
||||
Reference in New Issue
Block a user