import events.index_docs as app def test_record_handler(monkeypatch, dynamodb_stream_event, lambda_context): app.lambda_handler(dynamodb_stream_event, lambda_context)