Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/tests/test_tools_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Loading