summaryrefslogtreecommitdiffstats
path: root/askbot/tests/cache_tests.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-08-10 16:00:44 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-08-10 16:00:44 -0400
commit72210f4fef0b81decc90738b0fe5ac407455eaa0 (patch)
tree6f8dab769b57e499792d38b3b602381fd72d4d68 /askbot/tests/cache_tests.py
parent460d32a4cc2cd77ea95d7eab1d08daafd7638dd9 (diff)
downloadaskbot-72210f4fef0b81decc90738b0fe5ac407455eaa0.tar.gz
askbot-72210f4fef0b81decc90738b0fe5ac407455eaa0.tar.bz2
askbot-72210f4fef0b81decc90738b0fe5ac407455eaa0.zip
merged with the user-groups branch
Diffstat (limited to 'askbot/tests/cache_tests.py')
-rw-r--r--askbot/tests/cache_tests.py17
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
-
-