From 0a385544a31f780d53cd86c70791db4dfc54214b Mon Sep 17 00:00:00 2001 From: Adam Palay Date: Thu, 18 Sep 2014 14:21:10 -0400 Subject: [PATCH] update number of queries in embargo test --- common/djangoapps/embargo/tests/test_middleware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):