Scrapy, a fast high-level web crawling & scraping framework for Python.
TST: Randomize IMAGES_EXPIRES above 90 days
Paul Tremberth5efd65255c88
diff --git a/tests/test_pipeline_images.py b/tests/test_pipeline_images.pyindex 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(),