mirror of
https://github.com/django/django.git
synced 2025-01-05 07:55:47 +00:00
Refs #35141 -- Corrected value of CACHE_MIDDLEWARE_SECONDS in CacheMiddlewareTest tests.
This commit is contained in:
parent
06d0a1bd56
commit
22785f0d6b
@ -392,7 +392,7 @@ class CustomURLConfTest(SimpleTestCase):
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
@override_settings(
|
@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):
|
class CacheMiddlewareTest(SimpleTestCase):
|
||||||
def test_middleware_caching(self):
|
def test_middleware_caching(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user