def get_expected_output(**expected_completion):
action = '<STR_LIT>'<EOL>action2 = '<STR_LIT>'<EOL>if expected_completion['<STR_LIT>'] == NOW_TIMESTAMP:<EOL><INDENT>degreed_timestamp = '<STR_LIT>'.format(NOW_TIMESTAMP_FORMATTED)<EOL><DEDENT>elif expected_completion['<STR_LIT>'] == PAST_TIMESTAMP:<EOL><INDENT>degreed_timestamp = '<STR_LIT>'.format(PAST_TIMESTAMP_FORMATTED)<EOL><DEDENT>else:<EOL><INDENT>degreed_timestamp = '<STR_LIT:null>'<EOL>action = '<STR_LIT>'<EOL>action2 = action<EOL><DEDENT>degreed_output_template = (<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>)<EOL>sapsf_output_template = (<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>)<EOL>expected_output = [<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>"<STR_LIT>" + sapsf_output_template.format(<EOL>user_id='<STR_LIT>',<EOL>course_id=COURSE_KEY,<EOL>provider_id="<STR_LIT>",<EOL>**expected_completion<EOL>),<EOL>"<STR_LIT>".format(action),<EOL>"<STR_LIT>" + sapsf_output_template.format(<EOL>user_id='<STR_LIT>',<EOL>course_id=COURSE_ID,<EOL>provider_id="<STR_LIT>",<EOL>**expected_completion<EOL>),<EOL>"<STR_LIT>".format(action2),<EOL>"<STR_LIT>" + sapsf_output_template.format(<EOL>user_id='<STR_LIT>',<EOL>course_id=COURSE_KEY,<EOL>provider_id="<STR_LIT>",<EOL>**expected_completion<EOL>),<EOL>"<STR_LIT>".format(action),<EOL>"<STR_LIT>" + sapsf_output_template.format(<EOL>user_id='<STR_LIT>',<EOL>course_id=COURSE_ID,<EOL>provider_id="<STR_LIT>",<EOL>**expected_completion<EOL>),<EOL>"<STR_LIT>".format(action2),<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>"<STR_LIT>" + degreed_output_template.format(<EOL>user_email='<STR_LIT>',<EOL>course_id=COURSE_KEY,<EOL>timestamp=degreed_timestamp<EOL>),<EOL>"<STR_LIT>".format(action),<EOL>"<STR_LIT>" + degreed_output_template.format(<EOL>user_email='<STR_LIT>',<EOL>course_id=COURSE_ID,<EOL>timestamp=degreed_timestamp<EOL>),<EOL>"<STR_LIT>".format(action2),<EOL>"<STR_LIT>" + degreed_output_template.format(<EOL>user_email='<STR_LIT>',<EOL>course_id=COURSE_KEY,<EOL>timestamp=degreed_timestamp<EOL>),<EOL>"<STR_LIT>".format(action),<EOL>"<STR_LIT>" + degreed_output_template.format(<EOL>user_email='<STR_LIT>',<EOL>course_id=COURSE_ID,<EOL>timestamp=degreed_timestamp<EOL>),<EOL>"<STR_LIT>".format(action2),<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>]<EOL>return expected_output<EOL>
Returns the expected JSON record logged by the ``transmit_learner_data`` command.