"""Fixtures for lambda testing.""" import boto3 import pytest @pytest.fixture() def invoke_create_master_contact_lambda(): """Invoke the create-master-contact lambda function.""" client = boto3.client('lambda') return client.invoke( FunctionName='lambda-create-master-contact', InvocationType='RequestResponse', LogType='None', Payload=b'', )