'Verify that correct html is rendered for multiple inputtypes.
Arguments:
problme_html (str): problem HTML
group_label (str or None): multi input group label or None if label is not present
input_labels (tuple): individual input labels'

def assert_problem_html(self, problme_html, group_label, *input_labels):

    html = etree.XML(problme_html)
    multi_inputs_group = html.xpath('//div[@class="wrapper-problem-response"]/div[@class="multi-inputs-group"]')
    self.assertEqual(len(multi_inputs_group), 1)
    if (group_label is None):
        self.assertEqual(multi_inputs_group[0].attrib.get('aria-labelledby'), None)
    else:
        multi_inputs_group_label_id = multi_inputs_group[0].attrib.get('aria-labelledby')
        multi_inputs_group_label = html.xpath('//p[@id="{}"]'.format(multi_inputs_group_label_id))
        self.assertEqual(len(multi_inputs_group_label), 1)
        self.assertEqual(multi_inputs_group_label[0].text, group_label)
    for input_label in input_labels:
        input_label_element = multi_inputs_group[0].xpath('//*[normalize-space(text())="{}"]'.format(input_label))
        self.assertEqual(len(input_label_element), 1)
