Fix redaction storage test

This commit is contained in:
Erik Johnston 2014-11-10 15:21:41 +00:00
parent cdc1b5d629
commit c174d19d1e

View File

@ -71,6 +71,8 @@ class RedactionTestCase(unittest.TestCase):
event.state_events = None event.state_events = None
event.hashes = {} event.hashes = {}
event.prev_state = []
event.auth_events = []
# Have to create a join event using the eventfactory # Have to create a join event using the eventfactory
yield self.store.persist_event( yield self.store.persist_event(
@ -94,6 +96,7 @@ class RedactionTestCase(unittest.TestCase):
event.state_events = None event.state_events = None
event.hashes = {} event.hashes = {}
event.auth_events = []
yield self.store.persist_event( yield self.store.persist_event(
event event
@ -115,6 +118,7 @@ class RedactionTestCase(unittest.TestCase):
event.state_events = None event.state_events = None
event.hashes = {} event.hashes = {}
event.auth_events = []
yield self.store.persist_event( yield self.store.persist_event(
event event