diff --git a/endorsement/test/dao/test_notification.py b/endorsement/test/dao/test_notification.py index ae123e22..f285a46d 100644 --- a/endorsement/test/dao/test_notification.py +++ b/endorsement/test/dao/test_notification.py @@ -127,8 +127,8 @@ def test_invalid_endorser_notification_message_single(self): notify_invalid_endorser(endorsements) self.assertEqual(len(mail.outbox), 1) self.assertEqual( - mail.outbox[0].subject[:46], - 'Action Required: Services that you provisioned') + mail.outbox[0].subject, + 'Action Required: Provisioned UW-IT services will expire soon') self.assertTrue( service.category_name in mail.outbox[0].body) self.assertTrue(