Merge pull request #2427 from redapple/pipe-test-fail

TST: Randomize IMAGES_EXPIRES above 90 days
This commit is contained in:
Mikhail Korobov 2016-12-06 23:03:09 +05:00 committed by GitHub
commit 862814651f
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(),