Beispiel #1
0
 def test_correct(self):
     e = fix_email("*****@*****.**")
     self.assertEqual(e, "*****@*****.**")
Beispiel #2
0
 def test_none(self):
     old = None
     new = fix_email(old)
     self.assertEqual(old, new)
Beispiel #3
0
 def test_empty(self):
     old = ""
     new = fix_email(old)
     self.assertEqual(old, new)
Beispiel #4
0
 def test_partial(self):
     e = fix_email("psytp")
     self.assertEqual(e, "*****@*****.**")