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

Commit d0c1f4c

Browse files
authored
Remove unnecessary config overrides for MSC3666. (#12511)
1 parent 4bc8cb4 commit d0c1f4c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

changelog.d/12511.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove unnecessary configuration overrides in tests.

tests/rest/client/test_relations.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ def test_ignore_invalid_room(self) -> None:
355355
self.assertEqual(200, channel.code, channel.json_body)
356356
self.assertNotIn("m.relations", channel.json_body["unsigned"])
357357

358-
@unittest.override_config({"experimental_features": {"msc3666_enabled": True}})
359358
def test_edit(self) -> None:
360359
"""Test that a simple edit works."""
361360

@@ -998,7 +997,6 @@ def assert_bundle(event_json: JsonDict) -> None:
998997
]
999998
assert_bundle(self._find_event_in_chunk(chunk))
1000999

1001-
@unittest.override_config({"experimental_features": {"msc3666_enabled": True}})
10021000
def test_annotation(self) -> None:
10031001
"""
10041002
Test that annotations get correctly bundled.
@@ -1023,7 +1021,6 @@ def assert_annotations(bundled_aggregations: JsonDict) -> None:
10231021

10241022
self._test_bundled_aggregations(RelationTypes.ANNOTATION, assert_annotations, 7)
10251023

1026-
@unittest.override_config({"experimental_features": {"msc3666_enabled": True}})
10271024
def test_reference(self) -> None:
10281025
"""
10291026
Test that references get correctly bundled.
@@ -1042,7 +1039,6 @@ def assert_annotations(bundled_aggregations: JsonDict) -> None:
10421039

10431040
self._test_bundled_aggregations(RelationTypes.REFERENCE, assert_annotations, 7)
10441041

1045-
@unittest.override_config({"experimental_features": {"msc3666_enabled": True}})
10461042
def test_thread(self) -> None:
10471043
"""
10481044
Test that threads get correctly bundled.

0 commit comments

Comments
 (0)