From 3a86f70969002b0e28d12774d072dbc3ea229e67 Mon Sep 17 00:00:00 2001 From: Teknium Date: Fri, 24 Apr 2026 03:35:45 -0700 Subject: [PATCH] test(hindsight): update materialize-profile-env test for HINDSIGHT_TIMEOUT The existing test_local_embedded_setup_materializes_profile_env expected exact equality on ~/.hermes/.env content; the new HINDSIGHT_TIMEOUT=120 line from the timeout feature now appears in that file. Append it to the expected string so the test reflects the new post_setup output. --- tests/plugins/memory/test_hindsight_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/plugins/memory/test_hindsight_provider.py b/tests/plugins/memory/test_hindsight_provider.py index 64e5fa39e6..3eb64b81b8 100644 --- a/tests/plugins/memory/test_hindsight_provider.py +++ b/tests/plugins/memory/test_hindsight_provider.py @@ -270,7 +270,7 @@ class TestPostSetup: provider.post_setup(str(hermes_home), {"memory": {}}) assert saved_configs[-1]["memory"]["provider"] == "hindsight" - assert (hermes_home / ".env").read_text() == "HINDSIGHT_LLM_API_KEY=sk-local-test\n" + assert (hermes_home / ".env").read_text() == "HINDSIGHT_LLM_API_KEY=sk-local-test\nHINDSIGHT_TIMEOUT=120\n" profile_env = user_home / ".hindsight" / "profiles" / "hermes.env" assert profile_env.exists()