summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-11-05 13:35:15 +0000
committerAmber Brown <hawkowl@atleastfornow.net>2018-11-06 00:35:15 +1100
commitbc80b3f454aa9b9ca8bc710ff502b83892ac0a91 (patch)
treeda9af91ab5640b0124800a885a8f24767e2e54c7 /tests
parentSet the encoding to UTF8 in the default logconfig (#4138) (diff)
downloadsynapse-bc80b3f454aa9b9ca8bc710ff502b83892ac0a91.tar.xz
Add helpers for getting prev and auth events (#4139)
* Add helpers for getting prev and auth events

This is in preparation for allowing the event format to change between
room versions.
Diffstat (limited to 'tests')
-rw-r--r--tests/state/test_v2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/state/test_v2.py b/tests/state/test_v2.py
index d67f59b2c7..2e073a3afc 100644
--- a/tests/state/test_v2.py
+++ b/tests/state/test_v2.py
@@ -753,7 +753,7 @@ class TestStateResolutionStore(object):
             result.add(event_id)
 
             event = self.event_map[event_id]
-            for aid, _ in event.auth_events:
+            for aid in event.auth_event_ids():
                 stack.append(aid)
 
         return list(result)