import uuid import pytest from common.schemas.ingestion import ProductInfo from common.test_data.event import event_data @pytest.fixture def correlation_id() -> str: return str(uuid.uuid4()) @pytest.fixture def upc() -> str: return str(event_data["product_info"]["product"]["upc"]) @pytest.fixture def identity_uuid() -> str: return str(uuid.uuid4()) @pytest.fixture def product_info() -> ProductInfo: return ProductInfo(**event_data["product_info"])