Refs #35141 -- Corrected value of CACHE_MIDDLEWARE_SECONDS in CacheMiddlewareTest tests.

This commit is contained in:
Alexander Lazarević 2024-01-29 12:16:40 +01:00 committed by Mariusz Felisiak
parent 06d0a1bd56
commit 22785f0d6b
1 changed files with 1 additions and 1 deletions

View File

@ -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):