def test_clean_filename(self):
        data = {'submit': 'Submit'}
        form = ScheduleSectionForm(data=data, schedule=self.schedule)
        self.assertIn('filename', form.errors)
Ensure a file is provided if the submit action was utilized
dataset/ETHPy150Open pinax/symposion/symposion/schedule/tests/test_forms.py/ScheduleSectionFormTests.test_clean_filename