#NEWLINE# def test_emit_with_anchors( self ) : #NEWLINE# #INDENT# expected_command_dict = { #NEWLINE# #INDENT# 'anchors' : [ 4 , 5 , 6 ] , #NEWLINE# 'tuple' : ( 1 , 2 , 3 ) , #NEWLINE# #UNINDENT# } #NEWLINE# anchors = [ mock . Mock ( id = i ) for i in ( 4 , 5 , 6 ) ] #NEWLINE# with self . _test_emit_helper ( expected_command_dict ) : #NEWLINE# #INDENT# self . instance . emit ( ( 1 , 2 , 3 ) , anchors = anchors )