'DRY helper used to verify that program data is extended correctly.'

def _assert_supplemented(self, actual, **kwargs):

    self.course_run.update(dict({'certificate_url': None, 'course_url': reverse('course_root', args=[self.course.id]), 'enrollment_open_date': strftime_localized(DEFAULT_ENROLLMENT_START_DATE, 'SHORT_DATE'), 'is_course_ended': (self.course.end < datetime.datetime.now(utc)), 'is_enrolled': False, 'is_enrollment_open': True, 'upgrade_url': None, 'advertised_start': None}, **kwargs))
    self.catalog_course['course_runs'] = [self.course_run]
    self.program['courses'] = [self.catalog_course]
    self.assertEqual(actual, self.program)
