Fixup comments

This commit is contained in:
Erik Johnston 2019-05-20 12:32:26 +01:00
parent 935af0da38
commit 2ac9c965dd

View File

@ -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),