summary refs log tree commit diff
path: root/tests/rest/client/test_sync.py
diff options
context:
space:
mode:
authorEric Eastwood <eric.eastwood@beta.gouv.fr>2024-07-25 16:24:40 -0500
committerEric Eastwood <eric.eastwood@beta.gouv.fr>2024-07-25 16:24:40 -0500
commit80f6ac54b641dd6dcf0d929472433b4d76f9b2e0 (patch)
tree9ccd2925f649bf77aeff992514196ffbe0235c99 /tests/rest/client/test_sync.py
parentAdd changelog (diff)
downloadsynapse-80f6ac54b641dd6dcf0d929472433b4d76f9b2e0.tar.xz
Some clean-up
Diffstat (limited to 'tests/rest/client/test_sync.py')
-rw-r--r--tests/rest/client/test_sync.py17
1 files changed, 2 insertions, 15 deletions
diff --git a/tests/rest/client/test_sync.py b/tests/rest/client/test_sync.py
index a7bd3e71bc..33b4edf49b 100644
--- a/tests/rest/client/test_sync.py
+++ b/tests/rest/client/test_sync.py
@@ -5799,21 +5799,8 @@ class SlidingSyncReceiptsExtensionTestCase(SlidingSyncBase):
         receipts.register_servlets,
     ]
 
-    def default_config(self) -> JsonDict:
-        config = super().default_config()
-        # Enable sliding sync
-        config["experimental_features"] = {"msc3575_enabled": True}
-        return config
-
     def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None:
         self.store = hs.get_datastores().main
-        self.event_sources = hs.get_event_sources()
-        self.e2e_keys_handler = hs.get_e2e_keys_handler()
-        self.account_data_handler = hs.get_account_data_handler()
-        self.notifier = hs.get_notifier()
-        self.sync_endpoint = (
-            "/_matrix/client/unstable/org.matrix.simplified_msc3575/sync"
-        )
 
     def test_no_data_initial_sync(self) -> None:
         """
@@ -6103,7 +6090,7 @@ class SlidingSyncReceiptsExtensionTestCase(SlidingSyncBase):
         self.assertEqual(channel.code, 200, channel.json_body)
         # No activity for room4 after the `from_token`
 
-        # Make an incremental Sliding Sync request with the account_data extension enabled
+        # Make an incremental Sliding Sync request with the receipts extension enabled
         response_body, _ = self.do_sync(sync_body, since=from_token, tok=user1_tok)
 
         # Even though we requested room2, we only expect rooms to show up if they are
@@ -6201,7 +6188,7 @@ class SlidingSyncReceiptsExtensionTestCase(SlidingSyncBase):
         }
         _, from_token = self.do_sync(sync_body, tok=user1_tok)
 
-        # Make an incremental Sliding Sync request with the account_data extension enabled
+        # Make an incremental Sliding Sync request with the receipts extension enabled
         channel = self.make_request(
             "POST",
             self.sync_endpoint + f"?timeout=10000&pos={from_token}",