Files
hermes-agent/tests/hermes_cli
kshitijk4poor 34ad35e474 test: fold the named providers: pin case into the custom-endpoint parametrize
test_named_provider_pin_resolves_as_a_provider duplicated the parametrized
body minus one assertion. Carrying the providers: block inside the
model_block string makes it a sixth case (expected='custom'), so the
`record.inference_provider == expected` assertion now covers the bare
providers: pin too instead of stopping at provider_configured/other_providers.

Proof: file stays at 9 collected tests, all green; with origin/main's
hermes_cli/auth.py swapped in, the new named-providers-pin case fails
(AuthError no_provider_configured), so it still guards the rung.
2026-09-21 21:41:36 +05:30
..