示例#1
0
 def test_mailto_email_match(self):
     'Test email address written as a mailto-URI is matched'
     r = emailMatcher.match('mailto:[email protected]')
     self.assertTrue(r)
示例#2
0
 def test_An_Email_match(self):
     'Test email markup with mixed case'
     r = emailMatcher.match('*****@*****.**')
     self.assertTrue(r)
示例#3
0
 def test_angle_email_match(self):
     'Test when we match when Michael writes an email address'
     r = emailMatcher.match('<*****@*****.**>')
     self.assertTrue(r)
示例#4
0
 def test_match(self):
     'Test that "*****@*****.**" is recognised as an email address'
     r = emailMatcher.match("*****@*****.**")
     self.assertTrue(r)