'Verify that the progress meter treats no-id-professional enrollments
as professional.'

def test_no_id_professional_in_progress(self, mock_get_programs):

    course_run_key = generate_course_run_key()
    data = [ProgramFactory(courses=[CourseFactory(course_runs=[CourseRunFactory(key=course_run_key, type=CourseMode.PROFESSIONAL)])])]
    mock_get_programs.return_value = data
    CourseEnrollmentFactory(user=self.user, course_id=course_run_key, mode=CourseMode.NO_ID_PROFESSIONAL_MODE)
    meter = ProgramProgressMeter(self.site, self.user)
    program = data[0]
    expected = [ProgressFactory(uuid=program['uuid'], completed=[], in_progress=[program['courses'][0]], not_started=[])]
    self.assertEqual(meter.progress(count_only=False), expected)
