From 7daac76c5216c8009cd67e6f6c45c7a80f0a888d Mon Sep 17 00:00:00 2001 From: xprilion Date: Wed, 29 Apr 2026 13:08:53 +0530 Subject: [PATCH] tinyfix failing tests --- backend/tests/test_tools_local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/test_tools_local.py b/backend/tests/test_tools_local.py index 0e4295a..e8ea219 100644 --- a/backend/tests/test_tools_local.py +++ b/backend/tests/test_tools_local.py @@ -76,7 +76,7 @@ def test_blocked_system_path(self, monkeypatch): path = Path("/etc", "passwd") resolved, error = _validate_path(path) assert error is not None - assert "outside workspace" in error + assert "outside workspace" in error or "protected system directory" in error def test_blocked_root_path(self, monkeypatch): monkeypatch.setattr("openmlr.tools.local.WORKSPACE_ROOT", "/home/user/projects")