"""Common fixtures for iTunes.""" import pytest from feed_ingestion.flows.itunes import config @pytest.fixture() def mock_vendors_accounts(monkeypatch): """Mock vendors accounts.""" licensors = { 'theorchard': ['80028967', '80029727'], 'sme': ['80026921', '80030469'] } monkeypatch.setattr(config, 'licensors', licensors) @pytest.fixture def mock_reporter_accounts(): """Return reports and feed statuses for them.""" return { 'sme': { '80026921': 'test_filename', '80030469': 'test_filename', }, 'theorchard': { '80029727': 'test_filename', '80028967': 'test_filename', }, }