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

def test_attrs(self):

    w = widgets.AdminTimeWidget()
    self.assertHTMLEqual(w.render(u'test', datetime(2007, 12, 1, 9, 30)), u'<input    value="09:30:00"    type="text"    class="vTimeField"    name="test"    size="8"    />')
    w = widgets.AdminTimeWidget(attrs={u'size': 20, u'class': u'myTimeField'})
    self.assertHTMLEqual(w.render(u'test', datetime(2007, 12, 1, 9, 30)), u'<input    value="09:30:00"    type="text"    class="myTimeField"    name="test"    size="20"    />')
