"""Test Setup.""" from dotenv import load_dotenv import pytest import config load_dotenv() ACCOUNT_ID = 24601 @pytest.fixture() def report_custom_fixture(): """Return a custom report fixture.""" return { 'report_custom_id': 1, 'account_id': ACCOUNT_ID, 'contract_id': None, 'statement_period_ids': '265,266', 'report_custom_status': 'in_progress', 'dimension_column': 'territory', 'dimension_row': 'product', 'revenue_type': config.REVENUE_TYPE_DISTRIBUTION, 'revenue_display_type': 'net', 'file_location': 's3://file.csv', 'created_by': 'you', 'created_at': '2022-07-25T17:59:12Z', 'file_type': 'csv', 'number_format': 'us', } @pytest.fixture() def report_custom_financial_detail_fixture(): """Return a custom report fixture.""" return { 'report_custom_id': 1, 'account_id': ACCOUNT_ID, 'contract_id': None, 'statement_period_ids': '265,266', 'report_custom_status': 'in_progress', 'dimension_column': 'financial_detail', 'dimension_row': 'territory', 'revenue_type': config.REVENUE_TYPE_NEIGHBOURING_RIGHTS, 'file_location': 's3://file.csv', 'created_by': 'you', 'created_at': '2022-07-25T17:59:12Z', 'file_type': 'csv', 'number_format': 'us', }