Activating translation is not needed

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-02-25 19:19:26 +01:00
parent 415d83acc7
commit de22a12e85
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 0 additions and 3 deletions

View File

@ -9,8 +9,6 @@ from django.core.files.uploadedfile import SimpleUploadedFile
from django.core.management import call_command
from django.test import LiveServerTestCase, override_settings, TestCase
from django.urls import reverse
from django.utils import translation
from registration.models import CoachRegistration, Payment, StudentRegistration
from .models import Participation, Team, Tournament
@ -881,7 +879,6 @@ class TestPayment(TestCase):
"""
Check that the payment reminder command works correctly.
"""
translation.activate('fr')
self.assertEqual(len(mail.outbox), 0)
call_command('remind_payments')