The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(auth): pin the non-dict JSON body branch of the Nous refresh classifier
kshitijk4poor351e644b8373
diff --git a/tests/hermes_cli/test_auth_nous_provider.py b/tests/hermes_cli/test_auth_nous_provider.pyindex c7c49fa2777..a8e992a5ef6 100644--- a/tests/hermes_cli/test_auth_nous_provider.py+++ b/tests/hermes_cli/test_auth_nous_provider.py@@ -695,6 +695,8 @@ def test_refresh_token_reuse_detection_surfaces_actionable_message():(400, ValueError("not json"), None, False),(401, {"message": "unauthorized"}, "invalid_grant", True),(403, ValueError("not json"), "invalid_grant", True),+ (400, ["not", "a", "dict"], None, False),+ (401, "unauthorized", "invalid_grant", True),],)def test_refresh_token_exchange_error_classification(