diff --git a/tests/test_split_archive.py b/tests/test_split_archive.py index 78d077a..d8e21db 100644 --- a/tests/test_split_archive.py +++ b/tests/test_split_archive.py @@ -36,7 +36,9 @@ def test_allowlist_accepts_volumes(): assert is_allowed_file("смета.xlsx") # мусор — по-прежнему нет assert not is_allowed_file("virus.exe") - assert not is_allowed_file("photo.png") + # .png/.jpg — РАЗРЕШЕНЫ (фото/сканы читает зрение агентного пути, ALLOWED_EXTENSIONS); + # ассерт «not .png» устарел до добавления зрения — контракт: изображения принимаются. + assert is_allowed_file("photo.png") def test_is_split_volume():