diff options
author | Erik Johnston <erik@matrix.org> | 2018-11-02 13:44:12 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-11-02 13:44:14 +0000 |
commit | b86d05a279051b59d711c5a1982474994f302803 (patch) | |
tree | 9a3f3fe0da409a0181942a418e94efc2760bc397 /tests/replication | |
parent | Merge pull request #4128 from matrix-org/erikj/state_res_v2_version (diff) | |
download | synapse-b86d05a279051b59d711c5a1982474994f302803.tar.xz |
Clean up event accesses and tests
This is in preparation to refactor FrozenEvent to support different event formats for different room versions
Diffstat (limited to 'tests/replication')
-rw-r--r-- | tests/replication/slave/storage/test_events.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/replication/slave/storage/test_events.py b/tests/replication/slave/storage/test_events.py index 41be5d5a1a..1688a741d1 100644 --- a/tests/replication/slave/storage/test_events.py +++ b/tests/replication/slave/storage/test_events.py @@ -28,8 +28,8 @@ ROOM_ID = "!room:blue" def dict_equals(self, other): - me = encode_canonical_json(self._event_dict) - them = encode_canonical_json(other._event_dict) + me = encode_canonical_json(self.get_pdu_json()) + them = encode_canonical_json(other.get_pdu_json()) return me == them |