Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e67f65f

Browse files
committed
Fix relation tests
1 parent 23c7a1b commit e67f65f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/rest/client/test_relations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ def assert_annotations(bundled_aggregations: JsonDict) -> None:
982982
bundled_aggregations,
983983
)
984984

985-
self._test_bundled_aggregations(RelationTypes.ANNOTATION, assert_annotations, 7)
985+
self._test_bundled_aggregations(RelationTypes.ANNOTATION, assert_annotations, 6)
986986

987987
def test_reference(self) -> None:
988988
"""
@@ -1000,7 +1000,7 @@ def assert_annotations(bundled_aggregations: JsonDict) -> None:
10001000
bundled_aggregations,
10011001
)
10021002

1003-
self._test_bundled_aggregations(RelationTypes.REFERENCE, assert_annotations, 7)
1003+
self._test_bundled_aggregations(RelationTypes.REFERENCE, assert_annotations, 6)
10041004

10051005
def test_thread(self) -> None:
10061006
"""
@@ -1029,7 +1029,7 @@ def assert_thread(bundled_aggregations: JsonDict) -> None:
10291029
bundled_aggregations.get("latest_event"),
10301030
)
10311031

1032-
self._test_bundled_aggregations(RelationTypes.THREAD, assert_thread, 9)
1032+
self._test_bundled_aggregations(RelationTypes.THREAD, assert_thread, 8)
10331033

10341034
def test_thread_edit_latest_event(self) -> None:
10351035
"""Test that editing the latest event in a thread works."""

0 commit comments

Comments
 (0)