"""Fixtures for lambda testing.""" from typing import Any import boto3 import pytest import config @pytest.fixture() def invoke_lambda() -> Any: """Invoke the lambda function.""" client = boto3.client('lambda') return client.invoke( FunctionName=config.APPLICATION_NAME, InvocationType='RequestResponse', LogType='None', Payload=b'', )