import os import boto3 import pytest from tests.config import AWS_REGION, CONTENT_AUTO_APPROVE_STEP_FUNCTION_ARN @pytest.fixture(scope='session') def sfn_client(): """AWS Step Functions client fixture""" return boto3.client('stepfunctions', region_name=AWS_REGION) @pytest.fixture(scope='session') def stepfunction_arn(): """ Step Function ARN fixture. Uses environment variable override if set, otherwise uses the ARN from config.py """ return os.getenv('STEPFUNCTION_ARN', CONTENT_AUTO_APPROVE_STEP_FUNCTION_ARN)