Clean up event accesses and tests

This is in preparation to refactor FrozenEvent to support different
event formats for different room versions
This commit is contained in:
Erik Johnston 2018-11-02 13:44:12 +00:00
parent 1b21e771d0
commit b86d05a279
5 changed files with 7 additions and 10 deletions

View file

@ -112,7 +112,7 @@ class MessageAcceptTests(unittest.TestCase):
"origin_server_ts": 1,
"type": "m.room.message",
"origin": "test.serv",
"content": "hewwo?",
"content": {"body": "hewwo?"},
"auth_events": [],
"prev_events": [("two:test.serv", {}), (most_recent, {})],
}