mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-02 13:48:09 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -113,7 +113,7 @@ class TestValidateDirectoryPath:
|
||||
validate_directory_path("file.txt", str(tmp_path))
|
||||
|
||||
def test_rejects_traversal(self, tmp_path):
|
||||
with pytest.raises(ValueError, match="outside the allowed director"):
|
||||
with pytest.raises(ValueError, match="outside the allowed directories"):
|
||||
validate_directory_path("../../", str(tmp_path))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user