'Verify that optionresponse problem with multiple inputtypes is rendered correctly.'

@ddt.unpack
@ddt.data({'label_html': '<label>Choose    the    correct    color</label>', 'group_label': 'Choose    the    correct    color'}, {'label_html': '', 'group_label': None})
def test_optionresponse(self, label_html, group_label):

    input1_label = 'What    color    is    the    sky?'
    input2_label = 'What    color    are    pine    needles?'
    xml = '\n                                <problem>\n                                                <optionresponse>\n                                                                {label_html}\n                                                                <optioninput    options="(\'yellow\',\'blue\',\'green\')"    correct="blue"    label="{input1_label}"/>\n                                                                <optioninput    options="(\'yellow\',\'blue\',\'green\')"    correct="green"    label="{input2_label}"/>\n                                                </optionresponse>\n                                </problem>\n                                '.format(label_html=label_html, input1_label=input1_label, input2_label=input2_label)
    problem = self.capa_problem(xml)
    self.assert_problem_html(problem.get_html(), group_label, input1_label, input2_label)
