@@ -925,7 +925,7 @@ def test_contains_unpublished_changes_queries(
925925 assert containers_api .contains_unpublished_changes (grandparent .id )
926926
927927 # Publish grandparent and all its descendants:
928- with django_assert_num_queries (135 ): # TODO: investigate as this seems high!
928+ with django_assert_num_queries (136 ): # TODO: investigate as this seems high!
929929 publish_entity (grandparent )
930930
931931 # Tests:
@@ -1244,7 +1244,7 @@ def test_uninstalled_publish(
12441244 """Simple test of publishing a container of uninstalled type, plus its child, and reviewing the publish log"""
12451245 # Publish container_of_uninstalled_type (and child_entity1). Should not affect anything else,
12461246 # but we should see "child_entity1" omitted from the subsequent publish.
1247- with django_assert_num_queries (49 ):
1247+ with django_assert_num_queries (50 ):
12481248 publish_log = publish_entity (container_of_uninstalled_type )
12491249 # Nothing else should have been affected by the publish:
12501250 assert list (publish_log .records .order_by ("entity__pk" ).values_list ("entity__key" , flat = True )) == [
@@ -1282,7 +1282,7 @@ def test_deep_publish_log(
12821282 )
12831283 # Publish container_of_uninstalled_type (and child_entity1). Should not affect anything else,
12841284 # but we should see "child_entity1" omitted from the subsequent publish.
1285- with django_assert_num_queries (49 ):
1285+ with django_assert_num_queries (50 ):
12861286 publish_log = publish_entity (container_of_uninstalled_type )
12871287 # Nothing else should have been affected by the publish:
12881288 assert list (publish_log .records .order_by ("entity__pk" ).values_list ("entity__key" , flat = True )) == [
@@ -1291,7 +1291,7 @@ def test_deep_publish_log(
12911291 ]
12921292
12931293 # Publish great_grandparent. Should publish the whole tree.
1294- with django_assert_num_queries (126 ):
1294+ with django_assert_num_queries (127 ):
12951295 publish_log = publish_entity (great_grandparent )
12961296 assert list (publish_log .records .order_by ("entity__pk" ).values_list ("entity__key" , flat = True )) == [
12971297 "child_entity2" ,
0 commit comments