UPD: improved email test.
This commit is contained in:
@@ -1 +1 @@
|
|||||||
This template is used by the automatic software tests.
|
{# This template is used by software tests #}MAILBODY
|
||||||
@@ -43,3 +43,4 @@ class TestCase(EmailTestMixin, SimpleTestCase):
|
|||||||
self.assertSender(mail)
|
self.assertSender(mail)
|
||||||
self.assertRecipients(mail, [recipient])
|
self.assertRecipients(mail, [recipient])
|
||||||
self.assertSubject(mail, u'')
|
self.assertSubject(mail, u'')
|
||||||
|
self.assertBody(mail, 'MAILBODY')
|
||||||
|
|||||||
Reference in New Issue
Block a user