From 1e6b4b12a79b4e62248a4f7a844a5d9bdf9753de Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 14 May 2018 13:26:41 +0530 Subject: Add recipients to BCC field in send_bulk_mail function --- yaksh/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/test_views.py') diff --git a/yaksh/test_views.py b/yaksh/test_views.py index fd4f040..514f1cd 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -2556,7 +2556,7 @@ class TestCourseDetail(TestCase): attachment_file = mail.outbox[0].attachments[0][0] subject = mail.outbox[0].subject body = mail.outbox[0].alternatives[0][0] - recipients = mail.outbox[0].recipients() + recipients = mail.outbox[0].bcc self.assertEqual(attachment_file, "file.txt") self.assertEqual(subject, "test_bulk_mail") self.assertEqual(body, "Test_Mail") -- cgit