summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-02-07 13:08:34 +0000
committerRichard van der Hoff <richard@matrix.org>2020-02-14 16:42:37 +0000
commit43b2be9764bf244122f25a0f2bf8ec8c761f5cad (patch)
treefb85805bc83f73d8976fb857045f52fc899ef01c /tests
parentFilter the results of user directory searching via the spam checker (#6888) (diff)
downloadsynapse-43b2be9764bf244122f25a0f2bf8ec8c761f5cad.tar.xz
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`.
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_redaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_redaction.py b/tests/storage/test_redaction.py
index b9ee6ec1ec..db3667dc43 100644
--- a/tests/storage/test_redaction.py
+++ b/tests/storage/test_redaction.py
@@ -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