'A ClearableFileInput with is_required=False does not render a clear
checkbox.'

def test_clear_input_renders_only_if_not_required(self):

    widget = ClearableFileInput()
    widget.is_required = True
    self.assertHTMLEqual(widget.render(u'myfile', FakeFieldFile()), u'Currently:    <a    href="something">something</a>    <br    />Change:    <input    type="file"    name="myfile"    />')
