summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2018-06-07 14:22:12 +0530
committerGitHub2018-06-07 14:22:12 +0530
commitcd4a76d2bb8eb39621729536fbd9a8f2036d13cf (patch)
treec8e7d20a61dadc1dfd08e604002f8443f89610ed /yaksh/test_views.py
parent28618863e1487627e24f24476afd0f7b12149bcb (diff)
parent1e6b4b12a79b4e62248a4f7a844a5d9bdf9753de (diff)
downloadonline_test-cd4a76d2bb8eb39621729536fbd9a8f2036d13cf.tar.gz
online_test-cd4a76d2bb8eb39621729536fbd9a8f2036d13cf.tar.bz2
online_test-cd4a76d2bb8eb39621729536fbd9a8f2036d13cf.zip
Merge pull request #477 from ankitjavalkar/mail-to-bcc
Add recipients to BCC field in send_bulk_mail function
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r--yaksh/test_views.py2
1 files changed, 1 insertions, 1 deletions
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")