mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
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:
parent
f1ba2f0c0b
commit
3a86f70969
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue