"""Lambda test module.""" import index from mock import patch @patch('util.say_hello') def test_handler(mock_say_hello): """Test index.handler function.""" index.handler(None, None) mock_say_hello.assert_called_with()