Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
tests: Remove useless settings overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaty authored and Akhilian committed Feb 19, 2021
1 parent 892afd7 commit e8db043
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/core/mails/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ def test_create_contact(self):
assert response.status_code == 200
assert posted.last_request.json() == {"Email": "contact@example.com"}

@override_settings(EMAIL_BACKEND="pcapi.core.mails.backends.mailjet.MailjetBackend")
def test_update_contact(self):
backend = self._get_backend()
dt = datetime.date(2000, 1, 1)
Expand All @@ -164,7 +163,6 @@ def test_update_contact(self):
],
}

@override_settings(EMAIL_BACKEND="pcapi.core.mails.backends.mailjet.MailjetBackend")
def test_add_contact_to_list(self):
backend = self._get_backend()
with requests_mock.Mocker() as mock:
Expand Down Expand Up @@ -254,7 +252,6 @@ def test_update_contact(self):
],
}

@override_settings(EMAIL_BACKEND="pcapi.core.mails.backends.mailjet.MailjetBackend")
def test_add_contact_to_list(self):
backend = self._get_backend()
with requests_mock.Mocker() as mock:
Expand Down

0 comments on commit e8db043

Please sign in to comment.