From de22a12e85424bc0b4ea45530d142a68c934a754 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 25 Feb 2024 19:19:26 +0100 Subject: [PATCH] Activating translation is not needed Signed-off-by: Emmy D'Anello --- participation/tests.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/participation/tests.py b/participation/tests.py index 6df0c98..3b47aca 100644 --- a/participation/tests.py +++ b/participation/tests.py @@ -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')