From 3be5b9ba0a030590f3aad5616e92f715e501a6e8 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Tue, 22 Oct 2013 12:05:12 -0400 Subject: [PATCH] Fix Activity Test to account for more queries. (imported from commit f8fa6a1054b2248104e1a4941e9c45f6edd06269) --- zerver/tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zerver/tests.py b/zerver/tests.py index 3ee12e4e6d..bc9ac78192 100644 --- a/zerver/tests.py +++ b/zerver/tests.py @@ -403,7 +403,9 @@ class ActivityTest(AuthedTestCase): ) with queries_captured() as queries: self.client.get('/activity') - self.assertEqual(len(queries), 2) + + # We have 8 tabs, and one query per tab. + self.assertEqual(len(queries), 8) class PublicURLTest(TestCase): """