mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
Update Postmark integration test
Error message changed for invalid API token
This commit is contained in:
@@ -79,4 +79,4 @@ class PostmarkBackendIntegrationTests(SimpleTestCase, AnymailTestMixin):
|
|||||||
err = cm.exception
|
err = cm.exception
|
||||||
self.assertEqual(err.status_code, 401)
|
self.assertEqual(err.status_code, 401)
|
||||||
# Make sure the exception message includes Postmark's response:
|
# Make sure the exception message includes Postmark's response:
|
||||||
self.assertIn("Bad or missing Server API token", str(err))
|
self.assertIn("Please verify that you are using a valid token", str(err))
|
||||||
|
|||||||
Reference in New Issue
Block a user