'Tests whether given a url if the video will return a youtube source or extension'

def test_get_extension(self):

    expectedyoutube = 'video/youtube'
    expectednotyoutube = 'video/mp4'
    result1 = get_extension(self.sample_sourceurl)
    result2 = get_extension(self.sample_youtubeurl)
    self.assertEqual(expectedyoutube, result2)
    self.assertEqual(expectednotyoutube, result1)
