summary refs log tree commit diff
path: root/tests/federation/transport/test_knocking.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/federation/transport/test_knocking.py')
-rw-r--r--tests/federation/transport/test_knocking.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/federation/transport/test_knocking.py b/tests/federation/transport/test_knocking.py

index 5b928480e7..fbce19f38b 100644 --- a/tests/federation/transport/test_knocking.py +++ b/tests/federation/transport/test_knocking.py
@@ -34,7 +34,10 @@ KNOCK_UNSTABLE_IDENTIFIER = "xyz.amorgan.knock" class KnockingStrippedStateEventHelperMixin(TestCase): def send_example_state_events_to_room( - self, hs: "HomeServer", room_id: str, sender: str, + self, + hs: "HomeServer", + room_id: str, + sender: str, ) -> OrderedDict: """Adds some state to a room. State events are those that should be sent to a knocking user after they knock on the room, as well as some state that *shouldn't* be sent @@ -133,7 +136,9 @@ class KnockingStrippedStateEventHelperMixin(TestCase): return room_state def check_knock_room_state_against_room_state( - self, knock_room_state: List[Dict], expected_room_state: Dict, + self, + knock_room_state: List[Dict], + expected_room_state: Dict, ) -> None: """Test a list of stripped room state events received over federation against a dict of expected state events.