#NEWLINE# @ mock . patch ( 'oppy.path.path.exitFilter' , return_value = True ) #NEWLINE# def test_filterExits( self , mock_ef ) : #NEWLINE# #INDENT# cons_rel_stats = [ 'test' ] #NEWLINE# descriptors = 'descriptors' #NEWLINE# fast = 'fast' #NEWLINE# stable = 'stable' #NEWLINE# internal = 'internal' #NEWLINE# port = 'port' #NEWLINE# ret = path . filterExits ( cons_rel_stats , descriptors , fast , stable , internal , port ) #NEWLINE# self . assertEqual ( ret , [ 'test' ] ) #NEWLINE# mock_ef . assert_called_once_with ( 'test' , cons_rel_stats , descriptors , fast , stable , internal , port )