'Test that video\'s definition_from_xml handles unknown attrs w/o choking'

def test_video_attr(self):

    root = CourseFactory.build()
    sequence = SequenceFactory.build(parent=root)
    video = XmlImportFactory(parent=sequence, tag='video', attribs={'parent_url': 'foo', 'garbage': 'asdlk', 'download_video': 'true'})
    video_block = self.process_xml(video)
    assert_in('garbage', video_block.xml_attributes)
