import boto3 import pytest @pytest.fixture() def dynamodb_client(): return boto3.client('dynamodb', endpoint_url='http://127.0.0.1:8000')