Skip to content

Commit 4ecb761

Browse files
committed
CM-58022-fix
1 parent d239d9f commit 4ecb761

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/cli/commands/scan/prompt/test_utils.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,6 @@
77
)
88

99

10-
def test_normalize_path_basic() -> None:
11-
"""Test basic path normalization."""
12-
path = '/path/to/file.txt'
13-
result = normalize_path(path)
14-
15-
assert result == '/path/to/file.txt'
16-
17-
18-
def test_normalize_path_with_dots() -> None:
19-
"""Test normalizing path with . and .. segments."""
20-
path = '/path/./to/../file.txt'
21-
result = normalize_path(path)
22-
23-
assert result == '/path/file.txt'
24-
25-
2610
def test_normalize_path_rejects_escape() -> None:
2711
"""Test that paths attempting to escape are rejected."""
2812
path = '../../../etc/passwd'

0 commit comments

Comments
 (0)