from tests.root_fixture import root_fixture fixture = { **root_fixture, "User": [ *root_fixture["User"], { "id": 1, "email": "dev-marketing-user-1@example.com", "external_id": "sme-dna|5cf0091d6c91d310fe6fcdc6", "name": "user-1", "phone": "+1234234", }, { "id": 2, "email": "dev-marketing-user-2@example.com", "external_id": "sme-dna|5cf0091d6c91d310fe6fcdc7", "name": "user-2", "phone": "", }, { "id": 3, "email": "dev-marketing-user-#@example.com", "external_id": "sme-dna|5cf0091d6c91d310fe6fcrty", "name": "user-3", "phone": "", }, ], "Project": [ { "id": 500, "name": "test_project_1", "label_id": 1, "budget": 66666, "allocation": 66666, "created_at": "2019-07-22 16:14:35.748032", "create_user_id": 1, "updated_at": "2019-07-22 16:14:55.446196", "edit_user_id": 1, "is_deleted": False, "is_confidential": False, "initial_start_date": "2022-10-11", "gras_title": "New Frontline Release", "gras_project_code": "12345567", "prs_title": "New Frontline Release(PRS)", "prs_project_code": "012345567", "updated_by_import_at": "2020-10-11", }, { "id": 501, "name": "test_project_2", "label_id": 2, "budget": 11111, "allocation": 11111, "created_at": "2019-07-22 16:14:35.748032", "create_user_id": 2, "updated_at": "2019-07-22 16:14:55.446196", "edit_user_id": 2, "is_deleted": False, "is_confidential": False, "initial_start_date": "2022-10-11", "gras_title": "New Frontline Release", "gras_project_code": "12345568", "prs_title": "New Frontline Release(PRS)", "prs_project_code": "012345568", "updated_by_import_at": "2020-10-11", }, { "id": 502, "name": "test_project_3", "label_id": 1, "budget": 123466, "allocation": 123466, "created_at": "2019-07-22 16:14:35.748032", "create_user_id": 1, "updated_at": "2019-07-22 16:14:55.446196", "edit_user_id": 1, "is_deleted": True, "is_confidential": False, "initial_start_date": "2022-10-11", "gras_title": "New Frontline Release", "gras_project_code": "12345569", "prs_title": "New Frontline Release(PRS)", "prs_project_code": "012345569", "updated_by_import_at": "2020-10-11", }, { "id": 503, "name": "test_project_4", "label_id": 2, "budget": 2222, "allocation": 2222, "created_at": "2019-07-22 16:14:35.748032", "create_user_id": 1, "updated_at": "2019-07-22 16:14:55.446196", "edit_user_id": 1, "is_confidential": False, "initial_start_date": "2022-10-15", "gras_title": "New Frontline Release", "gras_project_code": "12345570", "prs_title": "New Frontline Release(PRS)", "prs_project_code": "012345570", "updated_by_import_at": "2020-10-11", }, { "id": 504, "name": "test_project_5", "label_id": 2, "budget": 1000, "allocation": 1000, "created_at": "2019-07-22 16:14:35.748032", "create_user_id": 1, "updated_at": "2019-07-22 16:14:55.446196", "edit_user_id": 1, "is_confidential": False, "initial_start_date": "2022-10-11", "gras_title": "New Frontline Release", "gras_project_code": "12345571", "prs_title": "New Frontline Release(PRS)", "prs_project_code": "012345571", "updated_by_import_at": "2020-10-11", }, { "id": 505, "name": "test_project_6", "label_id": 1, "budget": 1000, "allocation": 1000, "created_at": "2019-07-22 16:14:35.748032", "create_user_id": 1, "updated_at": "2019-07-22 16:14:55.446196", "edit_user_id": 1, "is_confidential": True, "initial_start_date": "2022-10-11", "gras_title": "New Frontline Release", "gras_project_code": "12345572", "prs_title": "New Frontline Release(PRS)", "prs_project_code": "012345572", "updated_by_import_at": "2020-10-11", }, { "id": 506, "name": "test_project_1", "label_id": 1, "budget": 66666, "allocation": 66666, "created_at": "2019-07-22 16:14:35.748032", "create_user_id": 1, "updated_at": "2019-07-22 16:14:55.446196", "edit_user_id": 1, "is_deleted": False, "is_confidential": False, "initial_start_date": "2022-10-11", "gras_title": "New Frontline Release", "gras_project_code": "123455678", "prs_title": "New Frontline Release(PRS)", "prs_project_code": "0123455678", "updated_by_import_at": "2020-10-11", }, { "id": 507, "name": "test_project_507", "label_id": 1, "budget": 66666, "allocation": 66666, "created_at": "2019-07-22 16:14:35.748032", "create_user_id": 1, "updated_at": "2019-07-22 16:14:55.446196", "edit_user_id": 1, "is_deleted": False, "is_confidential": False, "initial_start_date": "2022-01-11", "gras_title": "New Frontline Release", "gras_project_code": "123455679", "prs_title": "New Frontline Release(PRS)", "prs_project_code": "0123455679", "updated_by_import_at": "2020-10-11", }, ], "Campaign": [ { "id": 1, "uuid": "34ed4c22-e1f9-4184-a06d-f04cbdb97455", "name": "test_campaign_1", "project_id": 503, "create_user_id": 1, "start_date": "2007-10-11", "end_date": "2023-05-12", "planned_budget": 222, "budget_spend": 12, "created_at": "2021-07-22 16:14:55.355226", "updated_at": "2021-07-22 16:14:55.355226", "provider_id": 1, "age_range": "[0, 60]", "notes": "Lorem Ipsum", "metainfo": { "fields": { "budget": True, "spend": True, "startDate": True, "endDate": True, "genders": True, "audienceAge": True, "countries": True, "destinations": True, "notes": True, } }, } ], "UserLabel": [{"user_id": 1, "label_id": 1}, {"user_id": 2, "label_id": 2}, {"user_id": 3, "label_id": 3}], "ProjectTargetItem": [ {"project_id": 500, "entity_id": 10, "entity_type": 0, "add_type": 2}, {"project_id": 500, "entity_id": 20, "entity_type": 0}, {"project_id": 500, "entity_id": 30, "entity_type": 1}, {"project_id": 501, "entity_id": 50, "entity_type": 0, "add_type": 2}, {"project_id": 502, "entity_id": 10, "entity_type": 0, "add_type": 2}, {"project_id": 503, "entity_id": 20, "entity_type": 0, "add_type": 2}, {"project_id": 504, "entity_id": 40, "entity_type": 0, "add_type": 2}, {"project_id": 505, "entity_id": 10, "entity_type": 0, "add_type": 2}, {"project_id": 506, "entity_id": 10, "entity_type": 0, "add_type": 2}, {"project_id": 507, "entity_id": 10, "entity_type": 0, "add_type": 2}, ], "ArtistTeam": [ {"artist_id": 10, "label_id": 1}, {"artist_id": 20, "label_id": 2}, {"artist_id": 30, "label_id": 1}, {"artist_id": 50, "label_id": 3}, ], "ArtistTeamUser": [ {"artist_team_id": 1, "user_id": 1, "role": 1}, {"artist_team_id": 2, "user_id": 2, "role": 1}, {"artist_team_id": 3, "user_id": 2, "role": 1}, {"artist_team_id": 4, "user_id": 3, "role": 1}, ], "Contact": [{"id": 1, "name": "TestContactName", "email": "test@gmail.com", "phone": "+2141111111"}], "Artist": [ {"id": 10, "external_id": "GRAS_10", "name": "TestAtrist", "is_sony": True}, {"id": 20, "external_id": "GRAS_20", "name": "TestArtist2", "is_sony": True}, {"id": 30, "external_id": "GRAS_30", "name": "TestArtist3", "is_sony": True}, {"id": 40, "external_id": "GRAS_40", "name": "TestArtist4", "is_sony": True}, {"id": 50, "external_id": "GRAS_50", "name": "TestArtist5", "is_sony": True}, ], "Polymorphable": [ {"id": 10, "type": "Artist"}, {"id": 20, "type": "Artist"}, {"id": 30, "type": "Artist"}, {"id": 40, "type": "Artist"}, {"id": 50, "type": "Artist"}, ], "PRSPurchaseOrder": [ { "id": 474, "name": "Jesse Rutherford indie fees Q1 F20 | PO 1092858000", "po_number": 1092858000, "total_amount": 9000.00, "paid_amount": 7000.00, "group_id": 1, "category_id": 1, "created_date": "2019-04-03", "last_modified_date": "2022-03-24", "is_blanked": True, "is_deleted": False, "description": "Jess Rutherford indie press", "status": 10, "project_id": 506, "provider_id": 1, "is_under_uncommited_blanket": True, }, { "id": 475, "name": "ORIENTEER GROUP LLC | PO 1092858001", "po_number": 1092858001, "total_amount": 3000.00, "paid_amount": 2500.00, "group_id": 1, "category_id": 1, "created_date": "2019-04-03", "last_modified_date": "2019-10-01", "is_blanked": False, "is_deleted": False, "description": "Jess Rutherford indie press April fee - $3,000", "status": 10, "project_id": 506, "provider_id": 2, "is_under_uncommited_blanket": False, }, ], }