forked from MirrorHub/synapse
Fixup comments
This commit is contained in:
parent
935af0da38
commit
2ac9c965dd
1 changed files with 2 additions and 2 deletions
|
@ -321,7 +321,7 @@ class RelationsTestCase(unittest.HomeserverTestCase):
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_aggregation_redactions(self):
|
def test_aggregation_redactions(self):
|
||||||
"""Test that annotations get correctly aggregated after a redactions.
|
"""Test that annotations get correctly aggregated after a redaction.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
channel = self._send_relation(RelationTypes.ANNOTATION, "m.reaction", "a")
|
channel = self._send_relation(RelationTypes.ANNOTATION, "m.reaction", "a")
|
||||||
|
@ -333,7 +333,7 @@ class RelationsTestCase(unittest.HomeserverTestCase):
|
||||||
)
|
)
|
||||||
self.assertEquals(200, channel.code, channel.json_body)
|
self.assertEquals(200, channel.code, channel.json_body)
|
||||||
|
|
||||||
# Now lets redact the 'a' reaction
|
# Now lets redact one of the 'a' reactions
|
||||||
request, channel = self.make_request(
|
request, channel = self.make_request(
|
||||||
"POST",
|
"POST",
|
||||||
"/_matrix/client/r0/rooms/%s/redact/%s" % (self.room, to_redact_event_id),
|
"/_matrix/client/r0/rooms/%s/redact/%s" % (self.room, to_redact_event_id),
|
||||||
|
|
Loading…
Reference in a new issue