'Validate that the xblock info is correct for the test component.'

def validate_component_xblock_info(self, xblock_info):

    self.assertEqual(xblock_info['category'], 'video')
    self.assertEqual(xblock_info['id'], unicode(self.video.location))
    self.assertEqual(xblock_info['display_name'], 'My    Video')
    self.assertTrue(xblock_info['published'])
    self.assertIsNone(xblock_info.get('edited_by', None))
    self.validate_xblock_info_consistency(xblock_info)
