diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-19 15:54:07 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-19 15:54:07 +0100 |
commit | cc48e920d6df00000e569cf4caf508cd9ea3268b (patch) | |
tree | c81982a99af40e6784bdfd38294e7fc5e6e00e2a /tests | |
parent | Update tests (diff) | |
download | synapse-cc48e920d6df00000e569cf4caf508cd9ea3268b.tar.xz |
Don't expect a reflection from events stream
Diffstat (limited to '')
-rw-r--r-- | tests/rest/test_events.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/rest/test_events.py b/tests/rest/test_events.py index 1ab92395f2..4025e14581 100644 --- a/tests/rest/test_events.py +++ b/tests/rest/test_events.py @@ -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) |