Don't expect a reflection from events stream

This commit is contained in:
Erik Johnston 2014-08-19 15:54:07 +01:00
parent 41333452e5
commit cc48e920d6
1 changed files with 1 additions and 3 deletions

View File

@ -190,9 +190,7 @@ class EventStreamPermissionsTestCase(RestTestCase):
"/events?access_token=%s&timeout=0" % (self.token))
self.assertEquals(200, code, msg=str(response))
# First message is a reflection of my own presence status change
self.assertEquals(1, len(response["chunk"]))
self.assertEquals("m.presence", response["chunk"][0]["type"])
self.assertEquals(0, len(response["chunk"]))
# joined room (expect all content for room)
yield self.join(room=room_id, user=self.user_id, tok=self.token)