File tree Expand file tree Collapse file tree
tests/openedx_learning/apps/authoring/sections Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22Open edX Learning ("Learning Core").
33"""
44
5- __version__ = "0.24 .0"
5+ __version__ = "0.25 .0"
Original file line number Diff line number Diff line change 1313Entry = authoring_api .SectionListEntry
1414
1515
16+ # TODO: Turn SubSectionTestCase into SubSectionTestMixin and remove the
17+ # test-inherits-tests pylint warning below.
18+ # https://github.com/openedx/openedx-learning/issues/308
1619@ddt .ddt
1720class SectionTestCase (SubSectionTestCase ): # pylint: disable=test-inherits-tests
1821 """ Test cases for Sections (containers of subsections) """
@@ -183,9 +186,9 @@ def test_create_section_queries(self):
183186 Test how many database queries are required to create a section
184187 """
185188 # The exact numbers here aren't too important - this is just to alert us if anything significant changes.
186- with self .assertNumQueries (22 ):
189+ with self .assertNumQueries (25 ):
187190 _empty_section = self .create_section_with_subsections ([])
188- with self .assertNumQueries (27 ):
191+ with self .assertNumQueries (30 ):
189192 # And try with a non-empty section:
190193 self .create_section_with_subsections ([self .subsection_1 , self .subsection_2_v1 ], key = "u2" )
191194
You can’t perform that action at this time.
0 commit comments