diff --git a/tests/rest/client/test_relations.py b/tests/rest/client/test_relations.py index e150f495b329..c9b220e73d1a 100644 --- a/tests/rest/client/test_relations.py +++ b/tests/rest/client/test_relations.py @@ -458,6 +458,9 @@ def test_bundled_aggregations(self): """ Test that annotations, references, and threads get correctly bundled. + Note that this doesn't test against /relations since only thread relations + get bundled via that API. See test_aggregation_get_event_for_thread. + See test_edit for a similar test for edits. """ # Setup by sending a variety of relations. @@ -576,9 +579,6 @@ def assert_bundle(event_json: JsonDict) -> None: self.assertTrue(room_timeline["limited"]) self._find_event_in_chunk(room_timeline["events"]) - # Note that /relations is tested separately in test_aggregation_get_event_for_thread - # since it needs different data configured. - def test_aggregation_get_event_for_annotation(self): """Test that annotations do not get bundled aggregations included when directly requested. @@ -825,9 +825,6 @@ def assert_bundle(event_json: JsonDict) -> None: self.assertTrue(room_timeline["limited"]) assert_bundle(self._find_event_in_chunk(room_timeline["events"])) - # Note that /relations is tested separately in test_aggregation_get_event_for_thread - # since it needs different data configured. - def test_multi_edit(self): """Test that multiple edits, including attempts by people who shouldn't be allowed, are correctly handled.