def test_WWW_match(self): 'Test that WWW is matched' r = wwwMatcher.match('WWW.Example.Com') self.assertTrue(r)
def test_www_match(self): 'Test that www is matched' r = wwwMatcher.match('www.example.com') self.assertTrue(r)