mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Lint
This commit is contained in:
parent
596dd9914d
commit
a29420f9f4
@ -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 New Issue
Block a user