From 22785f0d6b9d1ef601737b1f0076972e7c82e8d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Lazarevi=C4=87?= Date: Mon, 29 Jan 2024 12:16:40 +0100 Subject: [PATCH] Refs #35141 -- Corrected value of CACHE_MIDDLEWARE_SECONDS in CacheMiddlewareTest tests. --- tests/template_tests/test_response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/template_tests/test_response.py b/tests/template_tests/test_response.py index 89361be284..d7f5a7eab7 100644 --- a/tests/template_tests/test_response.py +++ b/tests/template_tests/test_response.py @@ -392,7 +392,7 @@ class CustomURLConfTest(SimpleTestCase): }, ) @override_settings( - CACHE_MIDDLEWARE_SECONDS=2.0, ROOT_URLCONF="template_tests.alternate_urls" + CACHE_MIDDLEWARE_SECONDS=2, ROOT_URLCONF="template_tests.alternate_urls" ) class CacheMiddlewareTest(SimpleTestCase): def test_middleware_caching(self):