'Verify that label in response_data is empty string when label
attribute is missing and responsetype is not fully accessible.'

def test_label_is_empty_if_no_label_attribute(self):

    question = 'Click    the    country    which    is    home    to    the    Pyramids.'
    xml = '\n                                <problem>\n                                                <p>{}</p>\n                                                <imageresponse>\n                                                                <imageinput\n                                                                src="/static/Africa.png"    width="600"    height="638"    rectangle="(338,98)-(412,168)"/>\n                                                </imageresponse>\n                                </problem>\n                                '.format(question)
    problem = new_loncapa_problem(xml)
    self.assertEqual(problem.problem_data, {'1_2_1': {'label': '', 'descriptions': {}}})
