Skip to content

Commit 4b9fa83

Browse files
committed
add None response case
1 parent b890306 commit 4b9fa83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def lambda_handler(event, context):
547547

548548
@patch("traceback.print_exc")
549549
def test_different_return_type_no_error(self, MockPrintExc):
550-
TEST_RESULTS = ["a str to return", 42, {"value": 42}, ["A", 42]]
550+
TEST_RESULTS = ["a str to return", 42, {"value": 42}, ["A", 42], None]
551551
mock_context = get_mock_context()
552552
for test_result in TEST_RESULTS:
553553

0 commit comments

Comments
 (0)