""" Existing constants in here should not be changed, add new ones for additional tests """ from slz_api_service.v1.view_models.query_params import QueryParams MOCK_TOKEN_RESPONSE = { 'access_token': 'fake-access-token', 'expires_at': 1572029502, 'expires_in': 86400, 'token_type': 'Bearer' } MOCK_SERVER_NAME = 'localhost:5000' FILES_PARAMS_APPLE = QueryParams.from_dict({ 'dsp': 'apple', 'report_type': 'event', 'version': 'v1_2', 'report_date': '2019-08-11', 'report_licensor': 'sme', 'limit': 100, 'offset': 0, }) FILES_PARAMS_SPOTIFY = QueryParams.from_dict({ 'dsp': 'spotify', 'report_type': 'tracks', 'version': 'v1', 'report_date': '2019-09-17', 'report_licensor': 'sme', 'limit': 100, 'offset': 0, }) FILES_PARAMS_AMAZON_ADS = QueryParams.from_dict({ 'dsp': 'amazonadsupported', 'report_type': 'activity', 'version': 'v1', 'report_date': '2019-04-20', 'report_licensor': 'sme', 'limit': 10, 'offset': 0, }) FILES_ROUTES = { '/v1/files': FILES_PARAMS_APPLE, } DY_CONTENT_STATUS_FIELD_MAP = { 'CompletedAt': 'completed_at', 'ContentName': 'content_name', 'ContentStatus': 'content_status', 'Context': 'context', 'CreatedAt': 'created_at', 'FileSize': 'file_size', 'JobID': 'job_id', 'LastCheckedAt': 'last_checked_at', 'OriginalContentName': 'original_content_name', 'UnitOfWorkID': 'unit_of_work_id', } DY_DB_DATA_AMAZON_ADS = { 'CompletedAt': '2019-10-24T17:30:26.503673+00:00', 'ContentName': 'A_US_2019-04-20_activity.txt.zip', 'ContentStatus': 'COMPLETE', 'Context': 'US', 'CreatedAt': '2019-10-24T17:30:00.258064+00:00', 'FileSize': 144166018, 'JobID': 'amazonadsupported-20190420-sme-activity-v1_2019-04-21T04.55.55', 'LastCheckedAt': '2019-10-24T17:30:09.973849+00:00', 'OriginalContentName': 'PRU0_A_US_20190420_20190420_Activity_20190723.txt.zip', 'UnitOfWorkID': 'amazonadsupported-20190420-sme-activity-v1' } SECRETS_MANAGER_CLIENTS = { 'test_client_id_1': 'Test Client Name 1', 'test_client_id_2': 'Test Client Name 2', 'test_client_id_3': 'Test Client Name 3', 'test_client_id_4': 'Test Client Name 4', }