"""Pytest conftest module for set_product_to_complete tests.""" import pytest @pytest.fixture def context_event(): """State machine input event.""" return { 'product': { 'upc': '231232563123', 'product_name': 'Test Product', 'product_id': 3141281, 'vendor_id': 123, 'subaccount_id': 999, }, 'project': { 'name': 'Test Project', 'project_code': '1', 'project_id': 4498666, }, 'tracks': [], 'label_participants': [], 'correlation_id': 'test-correlation-id', 'grps_ingestion_id': 12345, } @pytest.fixture def approve_product_response(): """Response from approveProduct mutation.""" return { 'data': { 'approveProduct': { 'productId': 3141281, } } }