mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 09:53:47 +01:00
Lint
This commit is contained in:
parent
596dd9914d
commit
a29420f9f4
1 changed files with 1 additions and 2 deletions
|
@ -1706,7 +1706,7 @@ class ContextTestCase(unittest.HomeserverTestCase):
|
||||||
# the messages anymore.
|
# the messages anymore.
|
||||||
|
|
||||||
request, channel = self.make_request(
|
request, channel = self.make_request(
|
||||||
'GET',
|
"GET",
|
||||||
'/rooms/%s/context/%s?filter={"types":["m.room.message"]}'
|
'/rooms/%s/context/%s?filter={"types":["m.room.message"]}'
|
||||||
% (self.room_id, event_id),
|
% (self.room_id, event_id),
|
||||||
access_token=invited_tok,
|
access_token=invited_tok,
|
||||||
|
@ -1729,4 +1729,3 @@ class ContextTestCase(unittest.HomeserverTestCase):
|
||||||
self.assertEqual(len(events_after), 2, events_after)
|
self.assertEqual(len(events_after), 2, events_after)
|
||||||
self.assertDictEqual(events_after[0].get("content"), {}, events_after[0])
|
self.assertDictEqual(events_after[0].get("content"), {}, events_after[0])
|
||||||
self.assertEqual(events_after[1].get("content"), {}, events_after[1])
|
self.assertEqual(events_after[1].get("content"), {}, events_after[1])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue