"""Lambda test module.""" from unittest.mock import patch import app @patch('app.CommitLedgerProcessor') def test_handler(mock_processor, mock_commit_vat_summary_event): """Test handler function.""" result = app.handler(mock_commit_vat_summary_event, None) assert result == {'status': 'OK'} mock_processor.assert_called_once_with(mock_commit_vat_summary_event)