def update_course_with_enterprise_context(course, add_utm_info=True, enterprise_catalog_uuid=None):
url = urljoin(<EOL>settings.LMS_ROOT_URL,<EOL>reverse(<EOL>'<STR_LIT>',<EOL>kwargs={'<STR_LIT>': FAKE_UUIDS[<NUM_LIT:0>], '<STR_LIT>': course['<STR_LIT:key>']}<EOL>)<EOL>)<EOL>course['<STR_LIT>'] = update_url_with_enterprise_context(<EOL>url,<EOL>add_utm_info=add_utm_info,<EOL>enterprise_catalog_uuid=enterprise_catalog_uuid<EOL>)<EOL>course_runs = course.get('<STR_LIT>', [])<EOL>for course_run in course_runs:<EOL><INDENT>update_course_run_with_enterprise_context(<EOL>course_run,<EOL>add_utm_info=add_utm_info,<EOL>enterprise_catalog_uuid=enterprise_catalog_uuid<EOL>)<EOL><DEDENT>return course<EOL>
Populate a fake course response with any necessary Enterprise context for testing purposes.