Increase the mongo query count by one because edxnotes has been turned back on, and it loads the course from the modulestore as part of get_html
This commit is contained in:
committed by
Calen Pennington
parent
ef845ebc43
commit
a04690d051
@@ -155,9 +155,9 @@ class RenderXBlockTestMixin(six.with_metaclass(ABCMeta, object)):
|
||||
return response
|
||||
|
||||
@ddt.data(
|
||||
('vertical_block', ModuleStoreEnum.Type.mongo, 12),
|
||||
('vertical_block', ModuleStoreEnum.Type.mongo, 13),
|
||||
('vertical_block', ModuleStoreEnum.Type.split, 6),
|
||||
('html_block', ModuleStoreEnum.Type.mongo, 13),
|
||||
('html_block', ModuleStoreEnum.Type.mongo, 14),
|
||||
('html_block', ModuleStoreEnum.Type.split, 6),
|
||||
)
|
||||
@ddt.unpack
|
||||
@@ -214,7 +214,7 @@ class RenderXBlockTestMixin(six.with_metaclass(ABCMeta, object)):
|
||||
Helper method used by test_success_enrolled_staff because one test
|
||||
class using this mixin has an increased number of mongo (only) queries.
|
||||
"""
|
||||
return 8
|
||||
return 9
|
||||
|
||||
def test_success_unenrolled_staff(self):
|
||||
self.setup_course()
|
||||
|
||||
@@ -241,4 +241,4 @@ class LtiLaunchTestRender(LtiTestMixin, RenderXBlockTestMixin, ModuleStoreTestCa
|
||||
# (5)-(8) calls related to the inherited user_partitions field.
|
||||
# (9) edx_notes descriptor call to get_course
|
||||
"""
|
||||
return 8
|
||||
return 9
|
||||
|
||||
Reference in New Issue
Block a user