From a173769c72860a1c90458e5b9205cfdb9d55018c Mon Sep 17 00:00:00 2001 From: Darren Smith Date: Tue, 16 Mar 2021 14:15:13 -0400 Subject: [PATCH 1/3] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e630188..19de6d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ install: before_script: - flake8 sparkpost test script: - - py.test --cov sparkpost test/ --cov-report term-missing + - py.test after_success: - coveralls notifications: From 8729bd0093cbb2a90677a5677e6af34e131b2d41 Mon Sep 17 00:00:00 2001 From: Darren Smith Date: Tue, 16 Mar 2021 14:16:44 -0400 Subject: [PATCH 2/3] Update transmissions.py --- sparkpost/transmissions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sparkpost/transmissions.py b/sparkpost/transmissions.py index ef2e705..28aa46c 100644 --- a/sparkpost/transmissions.py +++ b/sparkpost/transmissions.py @@ -18,6 +18,7 @@ 'campaign': 'campaign_id', 'start_time': 'options/start_time', 'track_opens': 'options/open_tracking', + 'track_initial_opens': 'options/initial_open', 'track_clicks': 'options/click_tracking', 'transactional': 'options/transactional', 'use_sandbox': 'options/sandbox', @@ -264,6 +265,8 @@ def send(self, **kwargs): '2015-02-11T08:00:00-04:00'. :param bool track_opens: Defaults to True. Used to track opens of transmission + :param bool track_initial_opens: Used to track opens + of transmission with top pixel :param bool track_clicks: Defaults to True. Used to track clicks of transmission :param bool use_sandbox: Flag must be set to use sandbox domain instead From 4d845a84cd56d7ccdd394413589442d5f37501e6 Mon Sep 17 00:00:00 2001 From: Darren Smith Date: Tue, 16 Mar 2021 16:15:38 -0400 Subject: [PATCH 3/3] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 19de6d7..c6f74d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ install: - pip install -r dev-requirements.txt - pip uninstall django --yes - pip install -q django$DJANGO_VERSION + - pip install coverage==4.5.4 - pip install coveralls - pip install -e . before_script: