'MultiWidgets can be composed of other MultiWidgets.'

def test_nested_multiwidget(self):

    widget = ComplexMultiWidget()
    self.check_html(widget, 'name', 'some    text,JP,2007-04-25    06:24:00', html='\n                                                <input    type="text"    name="name_0"    value="some    text"    />\n                                                <select    multiple="multiple"    name="name_1">\n                                                                <option    value="J"    selected>John</option>\n                                                                <option    value="P"    selected>Paul</option>\n                                                                <option    value="G">George</option>\n                                                                <option    value="R">Ringo</option>\n                                                </select>\n                                                <input    type="text"    name="name_2_0"    value="2007-04-25"    />\n                                                <input    type="text"    name="name_2_1"    value="06:24:00"    />\n                                                ')
