'Video is created and found in English.'

def test_video_english(self):

    v = VideoFactory()
    d = ApprovedRevisionFactory(content=('[[V:%s]]' % v.title)).document
    doc = pq(d.html)
    eq_('video', doc('div.video').attr('class'))
    assert (doc('video').html() in [u'<source    src="{0}"    type="video/webm"><source    src="{1}"    type="video/ogg"/></source>'.format(v.webm.url, v.ogv.url), u'\n                                        <source    src="{0}"    type="video/webm">\n                                        <source    src="{1}"    type="video/ogg">\n                        </source></source>'.format(v.webm.url, v.ogv.url)])
    eq_(1, len(doc('video')))
    eq_(2, len(doc('source')))
    data_fallback = doc('video').attr('data-fallback')
    eq_(v.flv.url, data_fallback)
