Skip to content

The agent that grows with you

test: keep title workers out of persistence fixtures

Teknium7874ef9f62b9
diff --git a/tests/run_agent/test_tool_call_incremental_persistence.py b/tests/run_agent/test_tool_call_incremental_persistence.py
index 34a1517cd6e..59898c34e58 100644
--- a/tests/run_agent/test_tool_call_incremental_persistence.py
+++ b/tests/run_agent/test_tool_call_incremental_persistence.py
@@ -37,6 +37,12 @@ from hermes_state import SessionDB
from run_agent import AIAgent
[email protected](autouse=True)
+def _disable_background_titles(monkeypatch):
+ # Persistence assertions must not race a title worker writing to pytest capture.
+ monkeypatch.setattr("agent.title_generator.maybe_auto_title", lambda *args, **kwargs: None)
+
+
def _make_tool_defs(*names: str) -> list:
return [
{