#NEWLINE# def test_basic_launch_with_echo( self ) : #NEWLINE# #INDENT# 'Establish that we are able to create a job and echo the output\n        to the command line without it breaking.\n        ' #NEWLINE# with client . test_mode as t : #NEWLINE# #INDENT# standard_registration ( self ) #NEWLINE# result = self . res . launch ( 1 ) #NEWLINE# self . assertDictContainsSubset ( { #NEWLINE# #INDENT# 'changed' : True , #NEWLINE# 'id' : 42 , #NEWLINE# #UNINDENT# } , result ) #NEWLINE# f = self . res . as_command ( ) . _echo_method ( self . res . launch ) #NEWLINE# with mock . patch . object ( click , 'secho' ) : #NEWLINE# #INDENT# with settings . runtime_values ( format = 'human' ) : #NEWLINE# #INDENT# f ( job_template = 1 )