'Verify that descriptions information is correct.
Arguments:
describedby_xpaths (list): list of xpaths to check aria-describedby attribute'

def assert_description(self, describedby_xpaths):

    xml = self.render_to_xml(self.context)
    descriptions = OrderedDict(((tag.get('id'), stringify_children(tag)) for tag in xml.xpath('//p[@class="question-description"]')))
    self.assertEqual(self.DESCRIPTIONS, descriptions)
    for describedby_xpath in describedby_xpaths:
        describedbys = xml.xpath(describedby_xpath)
        self.assertTrue(describedbys)
        for describedby in describedbys:
            self.assertEqual(describedby, self.DESCRIPTION_IDS)
