'Attributes provided at instantiation are passed to the constituent
inputs.'

def test_constructor_attrs(self):

    widget = RadioSelect(attrs={'id': 'foo'}, choices=self.beatles)
    html = '\n                                <ul    id="foo">\n                                <li>\n                                <label    for="foo_0"><input    checked    type="radio"    id="foo_0"    value="J"    name="beatle"    />    John</label>\n                                </li>\n                                <li><label    for="foo_1"><input    type="radio"    id="foo_1"    value="P"    name="beatle"    />    Paul</label></li>\n                                <li><label    for="foo_2"><input    type="radio"    id="foo_2"    value="G"    name="beatle"    />    George</label></li>\n                                <li><label    for="foo_3"><input    type="radio"    id="foo_3"    value="R"    name="beatle"    />    Ringo</label></li>\n                                </ul>\n                                '
    self.check_html(widget, 'beatle', 'J', html=html)
