'Verify youtube embeds.'

def test_youtube_video(self):

    urls = ['http://www.youtube.com/watch?v=oHg5SJYRHA0', 'https://youtube.com/watch?v=oHg5SJYRHA0http://youtu.be/oHg5SJYRHA0https://youtu.be/oHg5SJYRHA0']
    parser = WikiParser()
    for url in urls:
        doc = pq(parser.parse(('[[V:%s]]' % url)))
        assert doc('iframe')[0].attrib['src'].startswith('//www.youtube.com/embed/oHg5SJYRHA0')
