Update Postmark integration test

Error message changed for invalid API token
This commit is contained in:
medmunds
2016-04-20 17:21:03 -07:00
parent f50908c975
commit 1e4abada8c

View File

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