Skip to content

Commit 6120360

Browse files
CopilotKludex
andcommitted
Fix trailing whitespace in test_custom.py
Co-authored-by: Kludex <7353520+Kludex@users.noreply.github.com>
1 parent 64aaec6 commit 6120360

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/handlers/test_custom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_custom_handler_infer():
6969
"""Test the infer method of CustomHandler."""
7070
event_with_key = {"my-custom-key": 1}
7171
event_without_key = {"other-key": 1}
72-
72+
7373
assert CustomHandler.infer(event_with_key, {}, {"api_gateway_base_path": "/"}) is True
7474
assert CustomHandler.infer(event_without_key, {}, {"api_gateway_base_path": "/"}) is False
7575

@@ -78,6 +78,6 @@ def test_custom_handler_call():
7878
"""Test the __call__ method of CustomHandler."""
7979
event = {"my-custom-key": 1}
8080
handler = CustomHandler(event, {}, {"api_gateway_base_path": "/"})
81-
81+
8282
result = handler(status=200, headers=[], body=b"Hello, World!")
8383
assert result == {"statusCode": 200, "headers": {}, "body": "Hello, World!"}

0 commit comments

Comments
 (0)