'Verify that the enterprise_course_consent must be a boolean.'

def test_enterprise_course_enrollment_invalid_consent(self):

    CourseModeFactory.create(course_id=self.course.id, mode_slug=CourseMode.DEFAULT_MODE_SLUG, mode_display_name=CourseMode.DEFAULT_MODE_SLUG)
    self.assert_enrollment_status(expected_status=status.HTTP_400_BAD_REQUEST, enterprise_course_consent='invalid', as_server=True)
