mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user