def get_course_enrollment(username, course_id):
try:<EOL><INDENT>course_details = COURSE_DETAILS[course_id]<EOL><DEDENT>except KeyError:<EOL><INDENT>_raise_client_error(<EOL>"<STR_LIT>", "<STR_LIT>".format(course_id)<EOL>)<EOL><DEDENT>return {<EOL>"<STR_LIT:user>": username,<EOL>"<STR_LIT>": course_details,<EOL>"<STR_LIT>": True,<EOL>"<STR_LIT>": '<STR_LIT>',<EOL>"<STR_LIT>": datetime.datetime.now().strftime("<STR_LIT>")<EOL>}<EOL>
Fake implementation.