def METHOD_NAME(self):
    """ Test command error raised if file_from_database is required and the config model is not enabled"""
    with pytest.raises(CommandError):
        call_command("bulk_change_enrollment_csv", "--file_from_database")