update number of queries in embargo test

This commit is contained in:
Adam Palay
2014-09-18 14:21:10 -04:00
parent ac862b7a97
commit 0a385544a3

View File

@@ -260,12 +260,12 @@ class EmbargoMiddlewareTests(ModuleStoreTestCase):
profile.save()
# Warm the cache
with self.assertNumQueries(14):
with self.assertNumQueries(16):
self.client.get(self.embargoed_page)
# Access the page multiple times, but expect that we hit
# the database to check the user's profile only once
with self.assertNumQueries(8):
with self.assertNumQueries(10):
self.client.get(self.embargoed_page)
def test_embargo_profile_country_db_null(self):