#NEWLINE# @ patch ( 'pybuilder.pip_utils.execute_command' ) #NEWLINE# def test_pip_install_environ_overwritten( self , execute_command ) : #NEWLINE# #INDENT# env_dict = dict ( ) #NEWLINE# pip_utils . pip_install ( 'blah' , env = env_dict ) #NEWLINE# execute_command . assert_called_once_with ( ANY , cwd = None , env = env_dict , error_file_name = None , outfile_name = None , shell = False )