1
0
Fork 0
mirror of synced 2024-06-12 07:14:37 +12:00

Update test condition

This commit is contained in:
Serene-Arc 2021-05-18 12:43:39 +10:00
parent 9a1e1ebea1
commit c89de29f72

View file

@ -380,4 +380,4 @@ def test_windows_max_path():
with unittest.mock.patch('bdfr.file_name_formatter.FileNameFormatter.find_max_path_length', return_value=260):
result = FileNameFormatter._limit_file_name_length('test' * 50, '_1.png', Path('test' * 25))
assert len(str(result)) <= 260
assert len(result.name) <= 75
assert len(result.name) <= 150