diff --git a/workspace/tests/test_executor_helpers.py b/workspace/tests/test_executor_helpers.py index 0aa0c991..9ca88063 100644 --- a/workspace/tests/test_executor_helpers.py +++ b/workspace/tests/test_executor_helpers.py @@ -763,6 +763,7 @@ def test_sanitize_agent_error_stderr_and_exc(): out = sanitize_agent_error(exc=err, stderr="rate limit exceeded") assert "ValueError" in out # exc class IS the tag when stderr is provided assert "rate limit exceeded" in out + assert "workspace logs" not in out # stderr form, not the generic form def test_sanitize_agent_error_stderr_empty_string():