#NEWLINE# def test_patches_environment_path_info_and_script_name_to_remove_mount( self ) : #NEWLINE# #INDENT# self . change_app_to_mock_app ( ) #NEWLINE# self . call ( path = '/mnt/another/path' ) #NEWLINE# ( args , kwargs ) = self . trappist . app . call_args #NEWLINE# eq_ ( args [ 0 ] [ 'PATH_INFO' ] , '/another/path' ) #NEWLINE# eq_ ( args [ 0 ] [ 'SCRIPT_NAME' ] , '/mnt' )