'Verify that a student with an inactive enrollment isn\'t encouraged to upgrade.'

@ddt.data(MODES.audit, MODES.verified)
def test_inactive_enrollment_no_upgrade(self, enrolled_mode):

    update_commerce_config(enabled=True, checkout_page=self.checkout_path)
    CourseEnrollmentFactory(user=self.user, course_id=self.course.id, mode=enrolled_mode, is_active=False)
    data = ProgramDataExtender(self.program, self.user).extend()
    self._assert_supplemented(data)
