Sendinblue: remove attachment from template integration test

Newer send API doesn't allow attachments with templates.
See discussion in #158
This commit is contained in:
medmunds
2019-08-30 13:24:43 -07:00
parent 989d56bd85
commit 8143b76041

View File

@@ -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