Skip to content

Commit

Permalink
include test with new style blast name
Browse files Browse the repository at this point in the history
  • Loading branch information
echan217 committed Jun 2, 2023
1 parent 079bdbb commit af242b6
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion dive_sailthru_client/tests/test_diveSailthruClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,29 @@ def test_infer_dive_email_type_and_brand_real_examples(self):
'expected_publication': 'CFO Dive',
'expected_type': DiveEmailTypes.ThirdBlast,
'comment': 'CFO Dive third blast',
},
},
{
'input': {
'blast_id': 31437039,
'email_count': 54245,
'labels': [],
'list': 'Marketing Dive Quarter Blast List - Group B',
'mode': 'email',
'modify_time': 'Tue, 23 May 2023 09:20:43 -0400',
'modify_user': 'xxx@industrydive.com',
'name': 'client_name=Salesforce.com&pt_id=a12K50000005y8oIAA&blast=quarterblast&site=MarketingDive&send_date=05.23.2023',
'public_url': 'link.divenewsletter.com/public/31437039',
'schedule_time': 'Tue, 23 May 2023 09:27:00 -0400',
'sent_count': 54245,
'start_time': 'Tue, 23 May 2023 09:27:01 -0400',
'status': 'sent',
'subject': 'See how personalized marketing can lift loyalty and raise ROI',
'suppress_list': []
},
'expected_publication': 'Marketing Dive',
'expected_type': DiveEmailTypes.QuarterBlast,
'comment': 'Marketing Dive Quarter Blast with param-type blast name',
},
# You can pull the data for these tests from sailthru_tools scripts/get_campaign.py
]

Expand Down

0 comments on commit af242b6

Please sign in to comment.