def test_clean_false_required(self):
        f = forms.FileField(required=True)
        self.assertEqual(f.clean(False, 'initial'), 'initial')
        self.assertRaises(ValidationError, f.clean, False)
If the ``clean`` method on a required FileField receives False as the
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/model_forms_regress/tests.py/FileFieldTests.test_clean_false_required