mirror of https://github.com/zulip/zulip.git
Fix Activity Test to account for more queries.
(imported from commit f8fa6a1054b2248104e1a4941e9c45f6edd06269)
This commit is contained in:
parent
124292e556
commit
3be5b9ba0a
|
@ -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):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue