'Helper method to turn on ecommerce on the course'

def _set_ecomm(self, course):

    course_mode = CourseMode(course_id=course.id, mode_slug=CourseMode.DEFAULT_MODE_SLUG, mode_display_name=CourseMode.DEFAULT_MODE_SLUG, min_price=10)
    course_mode.save()
