#NEWLINE# @ mock . patch ( 'cloudferry.lib.os.actions.recreate_boot_image.ReCreateBootImage.process_images' ) #NEWLINE# def test_run_without_missing_images( self , mock_process_images ) : #NEWLINE# #INDENT# res = self . obj . run ( 'fake_images_info' ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# 'images_info' : 'fake_images_info' , #NEWLINE# 'compute_ignored_images' : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , mock_process_images ) #NEWLINE# self . assertIsZero ( mock_process_images . call_count )