TST: Randomize IMAGES_EXPIRES above 90 days

This commit is contained in:
Paul Tremberth 2016-12-06 18:49:53 +01:00
parent f3d5995329
commit 5efd65255c
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ class ImagesPipelineTestCaseCustomSettings(unittest.TestCase):
return "".join([chr(random.randint(97, 123)) for _ in range(10)])
settings = {
"IMAGES_EXPIRES": random.randint(1, 1000),
"IMAGES_EXPIRES": random.randint(100, 1000),
"IMAGES_STORE": self.tempdir,
"IMAGES_RESULT_FIELD": random_string(),
"IMAGES_URLS_FIELD": random_string(),