Fix Activity Test to account for more queries.

(imported from commit f8fa6a1054b2248104e1a4941e9c45f6edd06269)
This commit is contained in:
Steve Howell 2013-10-22 12:05:12 -04:00
parent 124292e556
commit 3be5b9ba0a
1 changed files with 3 additions and 1 deletions

View File

@ -403,7 +403,9 @@ class ActivityTest(AuthedTestCase):
) )
with queries_captured() as queries: with queries_captured() as queries:
self.client.get('/activity') 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): class PublicURLTest(TestCase):
""" """