[IMP] mail_notification_custom_subject: Add comment to explain test_bad_template_does_not_break test

This commit is contained in:
Víctor Martínez 2021-04-19 14:26:38 +02:00
parent 7b747ffd95
commit 51c4d08122

View File

@ -140,6 +140,7 @@ class TestMailNotificationCustomSubject(common.TransactionCase):
self.assertEquals(mail_message_1.subject, "Test and something more")
def test_bad_template_does_not_break(self):
"""Create template with error (obaject) to test error."""
self.env["mail.message.custom.subject"].create(
{
"name": "Test bad template 1",