'Ensure that user-supplied attrs are used.
Refs #12073.'

def test_attrs(self):

    w = widgets.AdminDateWidget()
    self.assertHTMLEqual(w.render(u'test', datetime(2007, 12, 1, 9, 30)), u'<input    value="2007-12-01"    type="text"    class="vDateField"    name="test"    size="10"    />')
    w = widgets.AdminDateWidget(attrs={u'size': 20, u'class': u'myDateField'})
    self.assertHTMLEqual(w.render(u'test', datetime(2007, 12, 1, 9, 30)), u'<input    value="2007-12-01"    type="text"    class="myDateField"    name="test"    size="20"    />')
