The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: adapt edge-case pagination mock to the sentinel probe
teknium156dc01d904d5
diff --git a/tests/tools/test_file_operations_edge_cases.py b/tests/tools/test_file_operations_edge_cases.pyindex ca5fa188f63..ee73e9df0d6 100644--- a/tests/tools/test_file_operations_edge_cases.py+++ b/tests/tools/test_file_operations_edge_cases.py@@ -205,7 +205,7 @@ class TestPaginationBounds:def fake_exec(command, *args, **kwargs):commands.append(command)- if command.startswith("wc -c"):+ if command.startswith("if [ -f ") or command.startswith("wc -c"):return MagicMock(exit_code=0, stdout="12")if command.startswith("head -c"):return MagicMock(exit_code=0, stdout="line1\nline2\n")