Sendinblue: rename to Brevo

* Update docs to (usually) refer to Brevo rather than Sendinblue
* Change SENDINBLUE_API_URL to api.brevo.com
   (same API is available on both domains)
* Leave code references (settings, backend name, webhook urls)
   unchanged as `sendinblue`, to avoid unnecessary client changes
This commit is contained in:
sblondon
2023-06-13 22:04:52 +02:00
committed by GitHub
parent 099ef314e4
commit 8a72f89e8a
8 changed files with 140 additions and 110 deletions

View File

@@ -67,7 +67,7 @@ class SendinBlueBackendStandardEmailTests(SendinBlueBackendMockAPITestCase):
["to@example.com"],
fail_silently=False,
)
self.assert_esp_called("https://api.sendinblue.com/v3/smtp/email")
self.assert_esp_called("https://api.brevo.com/v3/smtp/email")
http_headers = self.get_api_call_headers()
self.assertEqual(http_headers["api-key"], "test_api_key")
self.assertEqual(http_headers["Content-Type"], "application/json")