From 47b0044e6d560cd0be5be46f60361bc81461964e Mon Sep 17 00:00:00 2001 From: Bertrand Bordage Date: Sun, 7 Dec 2014 07:03:16 +0100 Subject: [PATCH] Detail. --- cachalot/tests/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cachalot/tests/settings.py b/cachalot/tests/settings.py index ac558dd..3870bbe 100644 --- a/cachalot/tests/settings.py +++ b/cachalot/tests/settings.py @@ -63,7 +63,7 @@ class SettingsTestCase(TransactionTestCase): @skipIf(len(settings.CACHES) == 1, 'We can’t change the cache used since there’s only one configured') def test_cache(self): - with cachalot_settings(CACHALOT_CACHE='default'): + with cachalot_settings(CACHALOT_CACHE=DEFAULT_CACHE_ALIAS): with self.assertNumQueries(1): list(Test.objects.all()) with self.assertNumQueries(0):