@@ -999,7 +999,7 @@ def assert_annotations(bundled_aggregations: JsonDict) -> None:
999999 bundled_aggregations ,
10001000 )
10011001
1002- self ._test_bundled_aggregations (RelationTypes .ANNOTATION , assert_annotations , 6 )
1002+ self ._test_bundled_aggregations (RelationTypes .ANNOTATION , assert_annotations , 7 )
10031003
10041004 def test_annotation_to_annotation (self ) -> None :
10051005 """Any relation to an annotation should be ignored."""
@@ -1035,7 +1035,7 @@ def assert_annotations(bundled_aggregations: JsonDict) -> None:
10351035 bundled_aggregations ,
10361036 )
10371037
1038- self ._test_bundled_aggregations (RelationTypes .REFERENCE , assert_annotations , 6 )
1038+ self ._test_bundled_aggregations (RelationTypes .REFERENCE , assert_annotations , 7 )
10391039
10401040 def test_thread (self ) -> None :
10411041 """
@@ -1080,21 +1080,21 @@ def assert_thread(bundled_aggregations: JsonDict) -> None:
10801080
10811081 # The "user" sent the root event and is making queries for the bundled
10821082 # aggregations: they have participated.
1083- self ._test_bundled_aggregations (RelationTypes .THREAD , _gen_assert (True ), 8 )
1083+ self ._test_bundled_aggregations (RelationTypes .THREAD , _gen_assert (True ), 9 )
10841084 # The "user2" sent replies in the thread and is making queries for the
10851085 # bundled aggregations: they have participated.
10861086 #
10871087 # Note that this re-uses some cached values, so the total number of
10881088 # queries is much smaller.
10891089 self ._test_bundled_aggregations (
1090- RelationTypes .THREAD , _gen_assert (True ), 2 , access_token = self .user2_token
1090+ RelationTypes .THREAD , _gen_assert (True ), 3 , access_token = self .user2_token
10911091 )
10921092
10931093 # A user with no interactions with the thread: they have not participated.
10941094 user3_id , user3_token = self ._create_user ("charlie" )
10951095 self .helper .join (self .room , user = user3_id , tok = user3_token )
10961096 self ._test_bundled_aggregations (
1097- RelationTypes .THREAD , _gen_assert (False ), 2 , access_token = user3_token
1097+ RelationTypes .THREAD , _gen_assert (False ), 3 , access_token = user3_token
10981098 )
10991099
11001100 def test_thread_with_bundled_aggregations_for_latest (self ) -> None :
@@ -1142,7 +1142,7 @@ def assert_thread(bundled_aggregations: JsonDict) -> None:
11421142 bundled_aggregations ["latest_event" ].get ("unsigned" ),
11431143 )
11441144
1145- self ._test_bundled_aggregations (RelationTypes .THREAD , assert_thread , 8 )
1145+ self ._test_bundled_aggregations (RelationTypes .THREAD , assert_thread , 9 )
11461146
11471147 def test_nested_thread (self ) -> None :
11481148 """
0 commit comments