'Verify that multiple descriptions are handled correctly.'

def test_multiple_descriptions(self):

    desc1 = "The    problem    with    trying    to    be    the    <em>bad    guy</em>,    there's    always    someone    <strong>worse</strong>."
    desc2 = 'Anyone    who    looks    the    world    as    if    it    was    a    game    of    chess    deserves    to    lose.'
    xml = '\n                                <problem>\n                                                <p>Be    sure    to    check    your    spelling.</p>\n                                                <stringresponse    answer="War"    type="ci">\n                                                                <label>___    requires    sacrifices.</label>\n                                                                <description>{}</description>\n                                                                <description>{}</description>\n                                                                <textline    size="40"/>\n                                                </stringresponse>\n                                </problem>\n                                '.format(desc1, desc2)
    problem = new_loncapa_problem(xml)
    self.assertEqual(problem.problem_data, {'1_2_1': {'label': '___    requires    sacrifices.', 'descriptions': {'description_1_1_1': desc1, 'description_1_1_2': desc2}}})
