"""Pytest fixtures for replace_placeholder_upc unit tests.""" import pytest @pytest.fixture def context_event(): """State machine input event.""" return { 'product': { 'upc': '231232563123', 'product_name': 'Test Product', 'grid': 'A0145345234523453452', 'display_artists': [ { 'name': 'Artist One', 'spotify_uri': 'spotify:artist:111', 'apple_id': 'apple_111', 'roles': ['PRIMARY_ARTIST'], }, { 'name': 'Artist Two', 'spotify_uri': 'spotify:artist:222', 'apple_id': 'apple_222', 'roles': ['FEATURED_ARTIST'], }, ], 'vendor_id': 123, 'subaccount_id': 999, 'release_date': '2025-01-01', 'sale_start_date': '2008-03-04', 'parent_repertoire_owner_code': '0031', 'repertoire_owner_code': 'A929', 'imprint': 'Eurodisc', 'release_type': 'Single', 'catalog_number': 'G010001336586R' }, 'project': { 'name': 'Test Project', 'project_code': '1', 'project_id': 4498666, 'artist': { 'name': 'Project Artist', 'spotify_uri': 'spotify:artist:proj', 'apple_id': 'apple_proj', }, }, 'tracks': [ { 'isrc': 'QZCDB2000001', 'track_name': 'Track One', 'duration': 210, 'sequence_number': 1, 'volume': 1, 'explicit': None, 'display_artists': [ { 'name': 'Artist One', 'spotify_uri': 'spotify:artist:111', 'apple_id': 'apple_111', }, ], }, ], 'label_participants': [ { 'name': 'Artist One', 'artist_id': '11', 'label_participant_id': '12', 'label_participant_uuid': 'UUID-AAA', }, { 'name': 'Artist Two', 'artist_id': '21', 'label_participant_id': '22', 'label_participant_uuid': 'UUID-BBB', }, ], }