'Video modal defaults for plcaeholder and text.'

def test_video_modal(self):

    v = VideoFactory()
    replacement = ('<img    class="video-thumbnail"    src="%s"/>' % v.thumbnail_url_if_set())
    d = ApprovedRevisionFactory(content=('[[V:%s|modal]]' % v.title)).document
    doc = pq(d.html)
    eq_(v.title, doc('.video-modal')[0].attrib['title'])
    eq_(1, doc('.video    video').length)
    eq_(replacement, doc('.video-placeholder').html().strip())
    eq_('video    modal-trigger', doc('div.video').attr('class'))
