UPD: improved email test.

This commit is contained in:
2019-03-28 12:23:23 +01:00
parent 28d8c60b54
commit f5abf1f815
2 changed files with 2 additions and 1 deletions

View File

@@ -1 +1 @@
This template is used by the automatic software tests.
{# This template is used by software tests #}MAILBODY

View File

@@ -43,3 +43,4 @@ class TestCase(EmailTestMixin, SimpleTestCase):
self.assertSender(mail)
self.assertRecipients(mail, [recipient])
self.assertSubject(mail, u'')
self.assertBody(mail, 'MAILBODY')