"""Conftest.""" import pytest @pytest.fixture def mock_event(): """Mock event.""" return { 'product': { 'status': None, 'display_artist_name': 'Cool Artist', 'vendor_id': None, 'subaccount_id': None, 'upc': '231232563123', 'product_id': 234324, 'is_main_release': True, 'release_type': 'release', 'release_reference': 'R0', 'original_release_date': '2020-03-25', 'artwork': None, 'grid': 'A0145345234523453452', 'catalog_number': 'G0134523452345245', 'product_name': 'Test Artist', 'marketing_blurb': 'blurb blurb blurb', 'genres': [ { 'genre': 'FUNK-00', 'subgenre': 'blah', } ], }, 'tracks': None, 'deals': [], 'bucket': 'ddex-bucket', 'key': 'key', 'message_id': '345243524', 'message_thread_id': 'G01452345234524_3452345', 'update_indicator': 'OriginalMessage', 'execution_name': 'execution name', 'project_id': 123, 'project': { 'name': 'test project', 'project_code': 'project code', 'description': 'is a project', 'artist': None, 'marketing_highlights': [ { 'highlight': 'global highlights', 'territory_codes': ['Worldwide'], 'store_codes': None, }, { 'highlight': 'territory highlights', 'territory_codes': ['US', 'CA'], 'store_codes': None, }, { 'highlight': 'store highlights', 'territory_codes': None, 'store_codes': ['iTunes', 'Spotify'] }, ], }, 'party_id': 'PADPIDA2012041004F', }