mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-01 12:02:05 +00:00
test(copilot): update stale get_copilot_api_token mock to tuple signature
get_copilot_api_token now returns (api_token, base_url); the auth-remove suppression test still mocked it as a bare string, mis-unpacking into the credential-pool seed path and failing with 'No credential #1'.
This commit is contained in:
parent
3ecc58a8da
commit
d3d768efb9
1 changed files with 1 additions and 1 deletions
|
|
@ -1859,7 +1859,7 @@ def test_auth_remove_copilot_suppresses_all_variants(tmp_path, monkeypatch):
|
|||
return_value=("ghp_fake", "gh"),
|
||||
), patch(
|
||||
"hermes_cli.copilot_auth.get_copilot_api_token",
|
||||
return_value="ghu_fake_api",
|
||||
return_value=("ghu_fake_api", None),
|
||||
):
|
||||
auth_remove_command(SimpleNamespace(provider="copilot", target="1"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue