diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-02-04 12:07:05 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-02-04 12:07:05 +0000 |
commit | 5ef91b96f1cadbdf981f4e67c2dc97d0bb290d6c (patch) | |
tree | 47c7979d13fe0f1f9dc86af39065830a0289fbcc /tests | |
parent | make FederationClient.send_invite async (diff) | |
parent | Merge pull request #6837 from matrix-org/rav/federation_async (diff) | |
download | synapse-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.py | 5 |
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 |