Skip to content

Commit e05267f

Browse files
AndriiNiedielnitsevIvan
authored andcommitted
test: adapt queries check to new changes
1 parent 9e5d640 commit e05267f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • tests/openedx_learning/apps/authoring/subsections

tests/openedx_learning/apps/authoring/subsections/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ def test_create_subsection_queries(self):
180180
Test how many database queries are required to create a subsection
181181
"""
182182
# The exact numbers here aren't too important - this is just to alert us if anything significant changes.
183-
with self.assertNumQueries(22):
183+
with self.assertNumQueries(25):
184184
_empty_subsection = self.create_subsection_with_units([])
185-
with self.assertNumQueries(27):
185+
with self.assertNumQueries(30):
186186
# And try with a non-empty subsection:
187187
self.create_subsection_with_units([self.unit_1, self.unit_2_v1], key="u2")
188188

0 commit comments

Comments
 (0)