mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 06:22:22 +00:00
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.core.management import call_command
|
||||||
from django.test import LiveServerTestCase, override_settings, TestCase
|
from django.test import LiveServerTestCase, override_settings, TestCase
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
from django.utils import translation
|
|
||||||
|
|
||||||
from registration.models import CoachRegistration, Payment, StudentRegistration
|
from registration.models import CoachRegistration, Payment, StudentRegistration
|
||||||
|
|
||||||
from .models import Participation, Team, Tournament
|
from .models import Participation, Team, Tournament
|
||||||
@ -881,7 +879,6 @@ class TestPayment(TestCase):
|
|||||||
"""
|
"""
|
||||||
Check that the payment reminder command works correctly.
|
Check that the payment reminder command works correctly.
|
||||||
"""
|
"""
|
||||||
translation.activate('fr')
|
|
||||||
self.assertEqual(len(mail.outbox), 0)
|
self.assertEqual(len(mail.outbox), 0)
|
||||||
|
|
||||||
call_command('remind_payments')
|
call_command('remind_payments')
|
||||||
|
Loading…
Reference in New Issue
Block a user