mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-10 08:32:09 +00:00
docs(test): correct None-semantics comment in test_runtime_cwd (discovery not skipped)
This commit is contained in:
parent
eadfeef60e
commit
75f478750c
1 changed files with 2 additions and 2 deletions
|
|
@ -34,8 +34,8 @@ class TestResolveContextCwd:
|
|||
assert resolve_context_cwd() == tmp_path
|
||||
|
||||
def test_returns_none_when_unset(self, monkeypatch):
|
||||
# None is load-bearing: it tells the caller to skip context-file discovery
|
||||
# (don't slurp the gateway install dir's AGENTS.md).
|
||||
# Unset → None; the caller (build_context_files_prompt) then getcwds —
|
||||
# the local-CLI #19242 contract. Discovery still runs; it is NOT skipped.
|
||||
monkeypatch.delenv("TERMINAL_CWD", raising=False)
|
||||
assert resolve_context_cwd() is None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue