From 07f9985a941d2fce4d7115a35dc983bc21ded4be Mon Sep 17 00:00:00 2001 From: Paul Tremberth Date: Wed, 21 Dec 2016 17:03:11 +0100 Subject: [PATCH] TST: Randomize FILES_EXPIRES above 90 days --- tests/test_pipeline_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pipeline_files.py b/tests/test_pipeline_files.py index 157c21a89..e3ec04b8d 100644 --- a/tests/test_pipeline_files.py +++ b/tests/test_pipeline_files.py @@ -208,7 +208,7 @@ class FilesPipelineTestCaseCustomSettings(unittest.TestCase): return "".join([chr(random.randint(97, 123)) for _ in range(10)]) settings = { - "FILES_EXPIRES": random.randint(1, 1000), + "FILES_EXPIRES": random.randint(100, 1000), "FILES_URLS_FIELD": random_string(), "FILES_RESULT_FIELD": random_string(), "FILES_STORE": self.tempdir