Skip to content
Snippets Groups Projects
Commit cc48e920 authored by Erik Johnston's avatar Erik Johnston
Browse files

Don't expect a reflection from events stream

parent 41333452
No related branches found
No related tags found
No related merge requests found
...@@ -190,9 +190,7 @@ class EventStreamPermissionsTestCase(RestTestCase): ...@@ -190,9 +190,7 @@ class EventStreamPermissionsTestCase(RestTestCase):
"/events?access_token=%s&timeout=0" % (self.token)) "/events?access_token=%s&timeout=0" % (self.token))
self.assertEquals(200, code, msg=str(response)) self.assertEquals(200, code, msg=str(response))
# First message is a reflection of my own presence status change self.assertEquals(0, len(response["chunk"]))
self.assertEquals(1, len(response["chunk"]))
self.assertEquals("m.presence", response["chunk"][0]["type"])
# joined room (expect all content for room) # joined room (expect all content for room)
yield self.join(room=room_id, user=self.user_id, tok=self.token) yield self.join(room=room_id, user=self.user_id, tok=self.token)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment