Skip to content

Commit

Permalink
fix test rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilouf committed Feb 7, 2025
1 parent 3e874de commit e28c90f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lemarche/conversations/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from django.test import TestCase, TransactionTestCase, override_settings

from lemarche.conversations.constants import ATTRIBUTES_TO_NOT_ANONYMIZE_FOR_INBOUND, ATTRIBUTES_TO_SAVE_FOR_INBOUND
from lemarche.conversations.factories import ConversationFactory, TemplateTransactionalFactory
from lemarche.conversations.factories import ConversationFactory, EmailGroupFactory, TemplateTransactionalFactory
from lemarche.conversations.models import Conversation, DisabledEmail, TemplateTransactional
from lemarche.siaes.factories import SiaeFactory
from lemarche.users.factories import UserFactory
Expand Down Expand Up @@ -124,8 +124,7 @@ def setUpTestData(cls):

def test_get_template_id(self):
self.assertIsNone(self.tt_active_empty.get_template_id)
self.assertEqual(self.tt_inactive.get_template_id, self.tt_inactive.mailjet_id)
self.assertEqual(self.tt_active_mailjet.get_template_id, self.tt_active_mailjet.mailjet_id)
self.assertEqual(self.tt_inactive.get_template_id, self.tt_inactive.brevo_id)
self.assertEqual(self.tt_active_brevo.get_template_id, self.tt_active_brevo.brevo_id)

@patch("lemarche.conversations.models.api_brevo.send_transactional_email_with_template")
Expand Down

0 comments on commit e28c90f

Please sign in to comment.