summary refs log tree commit diff
path: root/tests/test_state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-06 07:44:00 +0100
committerErik Johnston <erik@matrix.org>2014-09-06 07:44:00 +0100
commitea5b5b1f648699105dd929ea276ee907eb3d82da (patch)
tree3250a7f15d99ea72887b97f05e26e5fe77437217 /tests/test_state.py
parentFix bug where we used an event_id as a pdu_id (diff)
downloadsynapse-ea5b5b1f648699105dd929ea276ee907eb3d82da.tar.xz
Fix state unit test
Diffstat (limited to '')
-rw-r--r--tests/test_state.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_state.py b/tests/test_state.py
index a1f5ee869b..b01496c40f 100644
--- a/tests/test_state.py
+++ b/tests/test_state.py
@@ -240,6 +240,7 @@ class StateTestCase(unittest.TestCase):
     @defer.inlineCallbacks
     def test_new_event(self):
         event = Mock()
+        event.event_id = "12123123@test"
 
         state_pdu = new_fake_pdu_entry("C", "test", "mem", "x", "A", 20)