'Verify that the progress meter can represent progress in terms of
serialized courses.'

def test_course_progress(self, mock_get_programs):

    course_run_key = generate_course_run_key()
    data = [ProgramFactory(courses=[CourseFactory(course_runs=[CourseRunFactory(key=course_run_key)])])]
    mock_get_programs.return_value = data
    self._create_enrollments(course_run_key)
    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)
