summary refs log tree commit diff
path: root/tests/rest/client/v1
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-11-20 15:08:47 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-11-20 15:08:47 +0000
commite2a20326e8141fdf9304434901da38c64b917a78 (patch)
treed59c7434cf5f2214ffb1aab1e38fb8f990783a8d /tests/rest/client/v1
parentChangelog (diff)
downloadsynapse-e2a20326e8141fdf9304434901da38c64b917a78.tar.xz
Lint
Diffstat (limited to 'tests/rest/client/v1')
-rw-r--r--tests/rest/client/v1/test_rooms.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py
index ebaa67e899..e84e578f99 100644
--- a/tests/rest/client/v1/test_rooms.py
+++ b/tests/rest/client/v1/test_rooms.py
@@ -948,12 +948,14 @@ class RoomMessageListTestCase(RoomBase):
         # Purge every event before the second event.
         purge_id = random_string(16)
         pagination_handler._purges_by_id[purge_id] = PurgeStatus()
-        self.get_success(pagination_handler._purge_history(
-            purge_id=purge_id,
-            room_id=self.room_id,
-            token=second_token,
-            delete_local_events=True,
-        ))
+        self.get_success(
+            pagination_handler._purge_history(
+                purge_id=purge_id,
+                room_id=self.room_id,
+                token=second_token,
+                delete_local_events=True,
+            )
+        )
 
         # Check that we only get the second message through /message now that the first
         # has been purged.