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.
This commit is contained in:
Teknium 2026-04-24 03:35:45 -07:00 committed by Teknium
parent f1ba2f0c0b
commit 3a86f70969

View file

@ -270,7 +270,7 @@ class TestPostSetup:
provider.post_setup(str(hermes_home), {"memory": {}}) provider.post_setup(str(hermes_home), {"memory": {}})
assert saved_configs[-1]["memory"]["provider"] == "hindsight" 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" profile_env = user_home / ".hindsight" / "profiles" / "hermes.env"
assert profile_env.exists() assert profile_env.exists()