mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-09 08:21:50 +00:00
test(tui_gateway): fix undefined _ThreadUnsafeStdout in detached-ws test
The new test referenced _ThreadUnsafeStdout, which is not defined in the test file or anywhere in tests/. Use the existing _ChunkyStdout helper (line 106) which exposes the .parts list the assertion already checks. Fixes the test (2) CI shard failure on this PR.
This commit is contained in:
parent
65b2f95a6c
commit
21be7caf15
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ def test_write_json_returns_false_on_broken_pipe(monkeypatch):
|
|||
|
||||
|
||||
def test_write_json_drops_detached_ws_frames(monkeypatch):
|
||||
out = _ThreadUnsafeStdout()
|
||||
out = _ChunkyStdout()
|
||||
monkeypatch.setattr(server, "_real_stdout", out)
|
||||
server._sessions["detached-sid"] = {"transport": server._detached_ws_transport}
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue