#NEWLINE# def testFilterNoForceFilter( self ) : #NEWLINE# #INDENT# "Test that force==False doesn't set default values" #NEWLINE# filter = unusual_trip_filter . UnusualTripFilter ( 0.1 , force = False , quiet = True ) #NEWLINE# input = self . GetPath ( 'tests' , 'data' , 'filter_unusual_trips' ) #NEWLINE# loader = transitfeed . Loader ( schedule , extra_validation = True ) #NEWLINE# schedule = loader . Load ( ) #NEWLINE# schedule . trips [ 'CITY2' ] . trip_type = 'odd-trip' #NEWLINE# filter . filter ( schedule ) #NEWLINE# trip1 = schedule . trips [ 'CITY1' ] #NEWLINE# self . assertEquals ( trip1 [ 'trip_type' ] , '' ) #NEWLINE# trip2 = schedule . trips [ 'CITY2' ] #NEWLINE# self . assertEquals ( trip2 [ 'trip_type' ] , 'odd-trip' )