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

Commit

Permalink
Remove a couple of unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Mar 16, 2022
1 parent 4e71a26 commit c1bb2e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/rest/client/test_relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ def test_edit_thread(self) -> None:
threaded_event_id = channel.json_body["event_id"]

new_body = {"msgtype": "m.text", "body": "I've been edited!"}
channel = self._send_relation(
self._send_relation(
RelationTypes.REPLACE,
"m.room.message",
content={"msgtype": "m.text", "body": "foo", "m.new_content": new_body},
Expand Down Expand Up @@ -650,7 +650,7 @@ def test_edit_edit(self) -> None:
edit_event_id = channel.json_body["event_id"]

# Edit the edit event.
channel = self._send_relation(
self._send_relation(
RelationTypes.REPLACE,
"m.room.message",
content={
Expand Down Expand Up @@ -1031,7 +1031,7 @@ def test_aggregation_pagination_within_group(self) -> None:
idx += 1

# Also send a different type of reaction so that we test we don't see it
channel = self._send_relation(RelationTypes.ANNOTATION, "m.reaction", key="a")
self._send_relation(RelationTypes.ANNOTATION, "m.reaction", key="a")

prev_token = ""
found_event_ids: List[str] = []
Expand Down

0 comments on commit c1bb2e8

Please sign in to comment.