'Verify that HTML is correctly rendered when there is single inputtype.'

def test_single_inputtypes(self):

    question = 'Enter    sum    of    1+2'
    xml = textwrap.dedent('\n                                <problem>\n                                                <customresponse    cfn="test_sum"    expect="3">\n                                <script    type="loncapa/python">\n                                def    test_sum(expect,    ans):\n                                                return    int(expect)    ==    int(ans)\n                                </script>\n                                                                <label>{}</label>\n                                                                <textline    size="20"    correct_answer="3"    />\n                                                </customresponse>\n                                </problem>\n                                '.format(question))
    problem = new_loncapa_problem(xml, use_capa_render_template=True)
    problem_html = etree.XML(problem.get_html())
    multi_inputs_group = problem_html.xpath('//div[@class="multi-inputs-group"]')
    self.assertEqual(len(multi_inputs_group), 0)
    question = problem_html.xpath("//*[normalize-space(text())='{}']".format(question))
    self.assertEqual(len(question), 1)
