def test_department_name_required(self):
        ''' The form requires a non-None department name.
        '''
        form = NewDepartmentForm(department_name=None, department_short_name="APD")
        assert form.validate() is False
        assert 'This field is required.' in form.department_name.errors
dataset/ETHPy150Open codeforamerica/comport/tests/test_admin_forms.py/TestNewDepartmentForm.test_department_name_required/original