diff options
author | Dan Callahan <danc@element.io> | 2021-04-13 10:41:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 10:41:34 +0100 |
commit | 1d5f0e3529ec5acd889037c8ebcca2820ad003d5 (patch) | |
tree | 4e911bba7305b49ec44549f803b5cf64f5323456 /tests/test_utils | |
parent | Add an admin API to manage ratelimit for a specific user (#9648) (diff) | |
download | synapse-1d5f0e3529ec5acd889037c8ebcca2820ad003d5.tar.xz |
Bump black configuration to target py36 (#9781)
Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to 'tests/test_utils')
-rw-r--r-- | tests/test_utils/event_injection.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_utils/event_injection.py b/tests/test_utils/event_injection.py index c3c4a93e1f..3dfbf8f8a9 100644 --- a/tests/test_utils/event_injection.py +++ b/tests/test_utils/event_injection.py @@ -33,7 +33,7 @@ async def inject_member_event( membership: str, target: Optional[str] = None, extra_content: Optional[dict] = None, - **kwargs + **kwargs, ) -> EventBase: """Inject a membership event into a room.""" if target is None: @@ -58,7 +58,7 @@ async def inject_event( hs: synapse.server.HomeServer, room_version: Optional[str] = None, prev_event_ids: Optional[List[str]] = None, - **kwargs + **kwargs, ) -> EventBase: """Inject a generic event into a room @@ -83,7 +83,7 @@ async def create_event( hs: synapse.server.HomeServer, room_version: Optional[str] = None, prev_event_ids: Optional[List[str]] = None, - **kwargs + **kwargs, ) -> Tuple[EventBase, EventContext]: if room_version is None: room_version = await hs.get_datastore().get_room_version_id(kwargs["room_id"]) |