mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	test
This commit is contained in:
		@@ -647,7 +647,7 @@ class TestWEIRegistration(TestCase):
 | 
			
		||||
            first_name="admin",
 | 
			
		||||
            bank="Société générale",
 | 
			
		||||
        ))
 | 
			
		||||
        self.assertRedirects(response, reverse("wei:wei_detail", kwargs=dict(pk=self.registration.wei.pk)), 302, 200)
 | 
			
		||||
        self.assertRedirects(response, reverse("wei:wei_registrations", kwargs=dict(pk=self.registration.wei.pk)), 302, 200)
 | 
			
		||||
        # Check if the membership is successfully created
 | 
			
		||||
        membership = WEIMembership.objects.filter(user_id=self.user.id, club=self.wei)
 | 
			
		||||
        self.assertTrue(membership.exists())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user