mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 13:54:14 -04:00
Replace _event_dict_property with DictProperty
this amounts to the same thing, but replaces `_event_dict` with `_dict`, and removes some of the function layers generated by `property`.
This commit is contained in:
parent
49f877d32e
commit
43b2be9764
2 changed files with 80 additions and 66 deletions
|
@ -240,7 +240,7 @@ class RedactionTestCase(unittest.HomeserverTestCase):
|
|||
built_event = yield self._base_builder.build(prev_event_ids)
|
||||
|
||||
built_event._event_id = self._event_id
|
||||
built_event._event_dict["event_id"] = self._event_id
|
||||
built_event._dict["event_id"] = self._event_id
|
||||
assert built_event.event_id == self._event_id
|
||||
|
||||
return built_event
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue