'ClearableFileInput.value_from_datadict returns False if the clear
checkbox is checked, if not required.'

def test_clear_input_checked_returns_false(self):

    widget = ClearableFileInput()
    widget.is_required = False
    self.assertEqual(widget.value_from_datadict(data={u'myfile-clear': True}, files={}, name=u'myfile'), False)
