Set a minimum number of Xblock constructions in field override tests
This commit is contained in:
@@ -143,7 +143,7 @@ class FieldOverridePerformanceTestCase(ProceduralCourseTestMixin,
|
||||
|
||||
with self.assertNumQueries(queries):
|
||||
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)
|
||||
|
||||
@ddt.data(*itertools.product(('no_overrides', 'ccx'), range(1, 4), (True, False)))
|
||||
|
||||
Reference in New Issue
Block a user