Exemple #1
0
 def test_banned_name(self):
     """banned email fails validation"""
     with self.assertRaises(ValidationError):
         validate_email_banned('*****@*****.**')
 def test_banned_name(self):
     """banned email fails validation"""
     with self.assertRaises(ValidationError):
         validate_email_banned('*****@*****.**')
Exemple #3
0
 def test_unbanned_name(self):
     """unbanned email passes validation"""
     validate_email_banned('*****@*****.**')
 def test_unbanned_name(self):
     """unbanned email passes validation"""
     validate_email_banned('*****@*****.**')