#NEWLINE# def ticket_side_effect_with_embedded_link( * args , **kwargs ) : #NEWLINE# #INDENT# if ( args [ 1 ] == 'ABCD-1' ) : #NEWLINE# #INDENT# return dict ( title = 'ABCD1 ticket that references ABCD-2' , ticket = 'ABCD-1' , html_url = 'http://some.url' , embedded_link = { #NEWLINE# #INDENT# 'ABCD-2' : 'http://some.url/ABCD-2' , #NEWLINE# #UNINDENT# } , reporter = 'test user' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( args [ 1 ] == 'ABCD-2' ) : #NEWLINE# #INDENT# return dict ( title = 'ABCD2 ticket that references ABCD-1' , ticket = 'ABCD-2' , html_url = 'http://some.url' , embedded_link = { #NEWLINE# #INDENT# 'ABCD-1' : 'http://some.url/ABCD-1' , #NEWLINE# #UNINDENT# } , reporter = 'test user' ) #NEWLINE# #UNINDENT# #UNINDENT# return None