mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 03:02:14 +01:00 
			
		
		
		
	Activating translation is not needed
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -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')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user