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