diff --git a/common/djangoapps/embargo/tests/test_middleware.py b/common/djangoapps/embargo/tests/test_middleware.py index 42c5de0cca..48fe895f9c 100644 --- a/common/djangoapps/embargo/tests/test_middleware.py +++ b/common/djangoapps/embargo/tests/test_middleware.py @@ -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):