Unit tests for storage types + fix storage too long issues for local storage

This commit is contained in:
Patrick Robertson
2025-03-10 11:30:15 +00:00
parent 4c21795d5f
commit e89a8da3b4
6 changed files with 142 additions and 11 deletions

View File

@@ -67,4 +67,8 @@ class S3Storage(Storage):
if 'Contents' in resp:
return resp['Contents'][0]['Key']
return False
def max_file_length(self):
# Amazon AWS max file length is 1024, but we will use 1000 to be safe
return 1000