summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-08-12 10:55:19 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-08-24 10:43:09 +0100
commit91dd4052a5fe8d9424bf18668ce11c22b54c85c1 (patch)
tree2a519389eaba029f7ae95cd1b4d252854be5ae23
parentSwitch to FrozenSet (diff)
downloadsynapse-91dd4052a5fe8d9424bf18668ce11c22b54c85c1.tar.xz
antilint
-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,
                 ),
             )
         )