Upsell Courses in Courseware, CourseOutline, Discussions, Progress

This commit is contained in:
Nimisha Asthagiri
2017-06-07 12:38:53 -04:00
committed by Calen Pennington
parent 4e9d41f222
commit fdafd53a66
14 changed files with 138 additions and 206 deletions

View File

@@ -89,7 +89,7 @@ class TestCourseHomePage(SharedModuleStoreTestCase):
course_home_url(self.course)
# Fetch the view and verify the query counts
with self.assertNumQueries(42):
with self.assertNumQueries(45):
with check_mongo_calls(5):
url = course_home_url(self.course)
self.client.get(url)

View File

@@ -124,7 +124,7 @@ class TestCourseUpdatesPage(SharedModuleStoreTestCase):
course_updates_url(self.course)
# Fetch the view and verify that the query counts haven't changed
with self.assertNumQueries(32):
with self.assertNumQueries(34):
with check_mongo_calls(4):
url = course_updates_url(self.course)
self.client.get(url)