Skip to content
Snippets Groups Projects
Unverified Commit e2a20326 authored by Brendan Abolivier's avatar Brendan Abolivier
Browse files

Lint

parent 486be06f
No related branches found
No related tags found
No related merge requests found
...@@ -948,12 +948,14 @@ class RoomMessageListTestCase(RoomBase): ...@@ -948,12 +948,14 @@ class RoomMessageListTestCase(RoomBase):
# Purge every event before the second event. # Purge every event before the second event.
purge_id = random_string(16) purge_id = random_string(16)
pagination_handler._purges_by_id[purge_id] = PurgeStatus() pagination_handler._purges_by_id[purge_id] = PurgeStatus()
self.get_success(pagination_handler._purge_history( self.get_success(
purge_id=purge_id, pagination_handler._purge_history(
room_id=self.room_id, purge_id=purge_id,
token=second_token, room_id=self.room_id,
delete_local_events=True, token=second_token,
)) delete_local_events=True,
)
)
# Check that we only get the second message through /message now that the first # Check that we only get the second message through /message now that the first
# has been purged. # has been purged.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment