We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2153806 commit bc65f7cCopy full SHA for bc65f7c
tests/test_files.py
@@ -63,7 +63,7 @@ def test_edge_case_exact_length(self):
63
The function should leave such a filename unchanged.
64
"""
65
# Create a filename that is exactly 255 characters long.
66
- base = "b" * 250 # 250 characters for base
+ base = "b" * 251 # 250 characters for base
67
original = f"{base}.png" # This may reach exactly or slightly above 255 depending on slugification
68
result = get_valid_filename(original)
69
# We check that the final result does not exceed 255 characters.
0 commit comments