Skip to content

The agent that grows with you

test(buzz): stub CLI in thread-root propagation test so it never execs a real subprocess

Teknium4b1374bec1ea
diff --git a/tests/gateway/test_buzz_adapter.py b/tests/gateway/test_buzz_adapter.py
index e3830c54fdb..a4aec557157 100644
--- a/tests/gateway/test_buzz_adapter.py
+++ b/tests/gateway/test_buzz_adapter.py
@@ -845,6 +845,8 @@ class TestThreadRoots:
adapter._message_handler = AsyncMock()
adapter.handle_message = capture
+ adapter._run_cli = _ScriptedCli()
+ adapter.send_reaction = AsyncMock(return_value=True)
event = _tagged_event("latest-child", CHANNEL, content="@Chip follow-up")
event["tags"] += [
["e", "stable-root", "", "root"],