#NEWLINE# @ istest #NEWLINE# def gets_provyfile_path_from_args( self ) : #NEWLINE# #INDENT# existing_file = 'path/to/provyfile.py' #NEWLINE# with patch . object ( os . path , 'exists' ) as exists : #NEWLINE# #INDENT# exists . return_value = True #NEWLINE# self . assertEqual ( provyfile_path_from ( args = [ exists ] ) , existing_file )