test_activity: Increase expected query count by 1.

This is required because the Zulip UserProfile caching logic has
changed with 8e5e6a06f2, and sometimes
the current user will not be in the cache.
This commit is contained in:
Tim Abbott 2016-07-29 21:14:03 -07:00
parent f7083b4079
commit 297566510c
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ class ActivityTest(AuthedTestCase):
with queries_captured() as queries:
self.client_get('/activity')
self.assert_length(queries, 12)
self.assert_length(queries, 13)
class UserProfileTest(TestCase):
def test_get_emails_from_user_ids(self):