mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-31 21:08:39 -04:00
Run Black. (#5482)
This commit is contained in:
parent
7dcf984075
commit
32e7c9e7f2
376 changed files with 9142 additions and 10388 deletions
|
@ -82,7 +82,7 @@ class RedactionTestCase(unittest.TestCase):
|
|||
"sender": user.to_string(),
|
||||
"state_key": user.to_string(),
|
||||
"room_id": room.to_string(),
|
||||
"content": {"body": body, "msgtype": u"message"},
|
||||
"content": {"body": body, "msgtype": "message"},
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -118,7 +118,7 @@ class RedactionTestCase(unittest.TestCase):
|
|||
def test_redact(self):
|
||||
yield self.inject_room_member(self.room1, self.u_alice, Membership.JOIN)
|
||||
|
||||
msg_event = yield self.inject_message(self.room1, self.u_alice, u"t")
|
||||
msg_event = yield self.inject_message(self.room1, self.u_alice, "t")
|
||||
|
||||
# Check event has not been redacted:
|
||||
event = yield self.store.get_event(msg_event.event_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue