summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-02-04 12:07:05 +0000
committerRichard van der Hoff <richard@matrix.org>2020-02-04 12:07:05 +0000
commit5ef91b96f1cadbdf981f4e67c2dc97d0bb290d6c (patch)
tree47c7979d13fe0f1f9dc86af39065830a0289fbcc /tests
parentmake FederationClient.send_invite async (diff)
parentMerge pull request #6837 from matrix-org/rav/federation_async (diff)
downloadsynapse-5ef91b96f1cadbdf981f4e67c2dc97d0bb290d6c.tar.xz
Merge remote-tracking branch 'origin/develop' into rav/federation_client_async
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_redaction.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/storage/test_redaction.py b/tests/storage/test_redaction.py
index feb1c07cb2..b9ee6ec1ec 100644
--- a/tests/storage/test_redaction.py
+++ b/tests/storage/test_redaction.py
@@ -238,8 +238,11 @@ class RedactionTestCase(unittest.HomeserverTestCase):
             @defer.inlineCallbacks
             def build(self, prev_event_ids):
                 built_event = yield self._base_builder.build(prev_event_ids)
-                built_event.event_id = self._event_id
+
+                built_event._event_id = self._event_id
                 built_event._event_dict["event_id"] = self._event_id
+                assert built_event.event_id == self._event_id
+
                 return built_event
 
             @property