'Verify deprecated info.'

def _verify_deprecated_info(self, course_id, advanced_modules, info, deprecated_block_types):

    expected_blocks = []
    for block_type in deprecated_block_types:
        expected_blocks.append([reverse_usage_url('container_handler', self.vertical.location), '{}    Problem'.format(block_type)])
    self.assertEqual(info['deprecated_enabled_block_types'], [component for component in advanced_modules if (component in deprecated_block_types)])
    self.assertItemsEqual(info['blocks'], expected_blocks)
    self.assertEqual(info['advance_settings_url'], reverse_course_url('advanced_settings_handler', course_id))
