From aa1d367c89d5b11da5819ea4dffd55fa85b8c9f3 Mon Sep 17 00:00:00 2001 From: Bertrand Bordage Date: Tue, 21 Oct 2014 18:22:24 +0200 Subject: [PATCH] Changes a skip condition. --- cachalot/tests/read.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cachalot/tests/read.py b/cachalot/tests/read.py index fe223ff..6b01532 100644 --- a/cachalot/tests/read.py +++ b/cachalot/tests/read.py @@ -437,8 +437,8 @@ class ReadTestCase(TransactionTestCase): self.assertListEqual(permissions8, permissions7) self.assertListEqual(permissions8, self.group__permissions) - @skipIf(len(settings.CACHES) == 1, - 'We can’t change the cache used since there’s only one configured') + @skipIf(len(settings.DATABASES) == 1, + 'We can’t change the DB used since there’s only one configured') def test_using(self): with self.assertNumQueries(1): data1 = list(Test.objects.all())