summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-08-05 18:03:12 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-08-05 18:03:12 +0100
commit2ccbea41074e081b50e41689a487f0bbdef0fad3 (patch)
treea5441ed564007a462db3fe87c26afdb3047ef558
parentset timeout to zero (diff)
downloadsynapse-2ccbea41074e081b50e41689a487f0bbdef0fad3.tar.xz
-rw-r--r--tests/storage/test_state.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/storage/test_state.py b/tests/storage/test_state.py
index 5be9b19926..32060f2abd 100644
--- a/tests/storage/test_state.py
+++ b/tests/storage/test_state.py
@@ -185,7 +185,9 @@ class StateStoreTestCase(HomeserverTestCase):
             self.storage.state.get_state_for_event(
                 e5.event_id,
                 state_filter=StateFilter(
-                    types=frozendict({EventTypes.Member: frozenset({self.u_alice.to_string()})}),
+                    types=frozendict(
+                        {EventTypes.Member: frozenset({self.u_alice.to_string()})}
+                    ),
                     include_others=True,
                 ),
             )
@@ -205,7 +207,8 @@ class StateStoreTestCase(HomeserverTestCase):
             self.storage.state.get_state_for_event(
                 e5.event_id,
                 state_filter=StateFilter(
-                    types=frozendict({EventTypes.Member: frozenset()}), include_others=True
+                    types=frozendict({EventTypes.Member: frozenset()}),
+                    include_others=True,
                 ),
             )
         )