#NEWLINE# def test_should_skip_match_when_it_is_from_the_view_file( self ) : #NEWLINE# #INDENT# view = Mock ( ) #NEWLINE# view . file_name . return_value = '/any-directory/file' #NEWLINE# self . process . wait . return_value = 0 #NEWLINE# self . process . communicate . return_value = ( b'MATCH glob,80,7,/any-directory/file,statement' , b'this\nis\nthe\nstderr' ) #NEWLINE# from RustAutoComplete import run_racer #NEWLINE# results = run_racer ( view , [ 'any' , 'racer' , 'commands' ] ) #NEWLINE# self . assertEqual ( self , [ ] )