From 8143b760417fb1f7c7eea135b113b9ad7372d423 Mon Sep 17 00:00:00 2001 From: medmunds Date: Fri, 30 Aug 2019 13:24:43 -0700 Subject: [PATCH] Sendinblue: remove attachment from template integration test Newer send API doesn't allow attachments with templates. See discussion in #158 --- tests/test_sendinblue_integration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_sendinblue_integration.py b/tests/test_sendinblue_integration.py index 986993c..fa45528 100644 --- a/tests/test_sendinblue_integration.py +++ b/tests/test_sendinblue_integration.py @@ -90,7 +90,8 @@ class SendinBlueBackendIntegrationTests(SimpleTestCase, AnymailTestMixin): ) message.from_email = None # Required for SendinBlue templates - message.attach("attachment1.txt", "Here is some\ntext for you", "text/plain") + # Attachments don't work with templates in Sendinblue's newer API: + # message.attach("attachment1.txt", "Here is some\ntext for you", "text/plain") message.send() self.assertEqual(message.anymail_status.status, {'queued'}) # SendinBlue always queues