"""Configuration for tests.""" import pytest @pytest.fixture() def mock_delivery_event(): """Create a mock delivery event.""" return { 'event_type': 'start', 'execution_name': 'one', 'execution_start_time': '2021-12-06T21:55:22.068Z', 'sound_recording': { 'id': 'dbb3b5cd-3db1-4097-90f9-9eaac941cb91', 'version': '02q1hEE.y7mcX.TupQ34N9yg6QUa740s' }, 'state_machine_name': 'sfn-sr-delivery', 'step_function_execution_id': 'arn:aws:states:us-east-1:123456789012:execution:sfn-sr-delivery:one', # noqa 'upload_asset': False } @pytest.fixture() def mock_delivery_event_with_type(): """Create a mock delivery event with delivery type.""" return { 'event_type': 'start', 'execution_name': 'one', 'execution_start_time': '2021-12-06T21:55:22.068Z', 'sound_recording': { 'id': 'dbb3b5cd-3db1-4097-90f9-9eaac941cb91', 'version': '02q1hEE.y7mcX.TupQ34N9yg6QUa740s' }, 'state_machine_name': 'sfn-sr-delivery', 'step_function_execution_id': 'arn:aws:states:us-east-1:123456789012:execution:sfn-sr-delivery:one', # noqa 'upload_asset': False, 'delivery_type': 'FULL_DELIVERY' }