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)
def test_An_Email_match(self): 'Test email markup with mixed case' r = emailMatcher.match('*****@*****.**') self.assertTrue(r)
def test_angle_email_match(self): 'Test when we match when Michael writes an email address' r = emailMatcher.match('<*****@*****.**>') self.assertTrue(r)
def test_match(self): 'Test that "*****@*****.**" is recognised as an email address' r = emailMatcher.match("*****@*****.**") self.assertTrue(r)