diff options
Diffstat (limited to 'askbot/tests/cache_tests.py')
-rw-r--r-- | askbot/tests/cache_tests.py | 17 |
1 files changed, 0 insertions, 17 deletions
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 - - |