Skip to content

Commit

Permalink
decrease query test # of expected queries threshold, because we're
Browse files Browse the repository at this point in the history
needing less queries now to compute the uuid
  • Loading branch information
aronasorman committed Dec 21, 2014
1 parent 9efbf1a commit 806c2a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kalite/distributed/tests/browser_tests/query_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ def test_query_logout_admin(self):
def test_query_logout_teacher(self):
""""""
self.test_query_login_teacher()
with self.assertNumQueries(FuzzyInt(5, 11) + 11*UserLog.is_enabled()):
with self.assertNumQueries(FuzzyInt(3, 11) + 11*UserLog.is_enabled()):
self.browser_logout_user()

def test_query_logout_student(self):
""""""
self.test_query_login_student()
with self.assertNumQueries(FuzzyInt(4, 11) + 11*UserLog.is_enabled()):
with self.assertNumQueries(FuzzyInt(2, 11) + 11*UserLog.is_enabled()):
self.browser_logout_user()


Expand Down

0 comments on commit 806c2a2

Please sign in to comment.