This commit is contained in:
Brendan Abolivier 2019-12-16 14:55:50 +00:00
parent 596dd9914d
commit a29420f9f4
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

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