#NEWLINE# @ mock . patch . object ( os . path , 'exists' , return_value = True ) #NEWLINE# @ mock . patch . object ( utils , 'execute' , return_value = ( 'stdout' , None ) ) #NEWLINE# def test_qemu_info_with_no_errors( self , path_exists , utils_execute ) : #NEWLINE# #INDENT# image_info = images . qemu_img_info ( '/fake/path' ) #NEWLINE# self . assertTrue ( image_info ) #NEWLINE# self . assertTrue ( str ( image_info ) )