From 72210f4fef0b81decc90738b0fe5ac407455eaa0 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Fri, 10 Aug 2012 16:00:44 -0400 Subject: merged with the user-groups branch --- askbot/tests/cache_tests.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'askbot/tests/cache_tests.py') diff --git a/askbot/tests/cache_tests.py b/askbot/tests/cache_tests.py index a8416e99..5740cc2a 100644 --- a/askbot/tests/cache_tests.py +++ b/askbot/tests/cache_tests.py @@ -24,20 +24,3 @@ class CacheTests(AskbotTestCase): #second hit to the same question should give fewer queries self.assertTrue(counter > len(connection.queries)) settings.DEBUG = False - - def test_authentificated_no_question_cache(self): - url = reverse('question', kwargs={'id': self.question.id}) - - password = '123' - self.other_user.set_password(password) - self.client.login(username=self.other_user.username, password=password) - - self.visit_question() - counter = len(connection.queries) - self.visit_question() - - #expect the same number of queries both times - self.assertEqual(counter, len(connection.queries)) - settings.DEBUG = False - - -- cgit v1.2.3-1-g7c22