From 5efd65255c88ebb156b07f5f09a0a0fdb66f8e7e Mon Sep 17 00:00:00 2001 From: Paul Tremberth Date: Tue, 6 Dec 2016 18:49:53 +0100 Subject: [PATCH] TST: Randomize IMAGES_EXPIRES above 90 days --- tests/test_pipeline_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pipeline_images.py b/tests/test_pipeline_images.py index 6c1976b63..342f25ea9 100644 --- a/tests/test_pipeline_images.py +++ b/tests/test_pipeline_images.py @@ -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(), -- GitLab