def test_https_wwww_vimeo_com_match(self): 'Test https://www.vimeo.com is matched' url = self.construct_url('https://wwww.vimeo.com') r = vimeoMatcher.match(url) self.assertTrue(r)
def test_no_match(self): 'Ensuring that something that is not a Vimeo URL is skipped' r = vimeoMatcher.match("*this*") self.assertIs(None, r)