Activating translation is not needed
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
415d83acc7
commit
de22a12e85
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue