Commit de142b2b by Calen Pennington

Set a minimum number of Xblock constructions in field override tests

parent 13f5fe02
...@@ -143,7 +143,7 @@ class FieldOverridePerformanceTestCase(ProceduralCourseTestMixin, ...@@ -143,7 +143,7 @@ class FieldOverridePerformanceTestCase(ProceduralCourseTestMixin,
with self.assertNumQueries(queries): with self.assertNumQueries(queries):
with check_mongo_calls(reads): with check_mongo_calls(reads):
with check_sum_of_calls(XBlock, ['__init__'], xblocks): with check_sum_of_calls(XBlock, ['__init__'], xblocks, xblocks):
self.grade_course(self.course) self.grade_course(self.course)
@ddt.data(*itertools.product(('no_overrides', 'ccx'), range(1, 4), (True, False))) @ddt.data(*itertools.product(('no_overrides', 'ccx'), range(1, 4), (True, False)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment