|
@ -274,6 +274,7 @@ class NotifyTestCase(BaseTestCase): |
|
|
self.assertEqual(email.to[0], "[email protected]") |
|
|
self.assertEqual(email.to[0], "[email protected]") |
|
|
self.assertTrue("X-Bounce-Url" in email.extra_headers) |
|
|
self.assertTrue("X-Bounce-Url" in email.extra_headers) |
|
|
self.assertTrue("List-Unsubscribe" in email.extra_headers) |
|
|
self.assertTrue("List-Unsubscribe" in email.extra_headers) |
|
|
|
|
|
self.assertTrue("List-Unsubscribe-Post" in email.extra_headers) |
|
|
|
|
|
|
|
|
def test_email_transport_handles_json_value(self): |
|
|
def test_email_transport_handles_json_value(self): |
|
|
payload = {"value": "[email protected]", "up": True, "down": True} |
|
|
payload = {"value": "[email protected]", "up": True, "down": True} |
|
|