Files
hermes-agent/tests/agent
teknium1 6689bddeb7 fix(tests): drive the Nous terminal-refresh test through the real resolver
The test built the AuthError by hand and called _recover_failed_refresh directly, so it pinned the
terminal set in auth.py but never the production raise sites in auth_nous.py (swapping auth_nous.py
to main stayed green). It now runs _refresh_entry_impl against a temp HERMES_HOME for both
'needs a login' shapes — no Portal login, and an expired JWT with no refresh token — so the raise
site's code is what reaches the classifier.
2026-09-18 10:17:59 -07:00
..