def test_youtu_be_sub(self):
     'Test if http://youtu.be is embedded'
     url = self.construct_url('http://youtu.be')
     r = youTubeMatcher.sub(url)
     self.assertEmbed(r)
 def test_https_sub(self):
     'Test that "https://youtube.com/" is embedded.'
     url = self.construct_url('https://youtube.com')
     r = youTubeMatcher.sub(url)
     self.assertEmbed(r)