#NEWLINE# def test_filter_by_partial_match( self ) : #NEWLINE# #INDENT# middlesex_locs = SQLLocation . objects . filter_path_by_user_input ( self . domain , 'Middle' ) #NEWLINE# self . assertItemsEqual ( [ 'Middlesex' , 'Cambridge' , 'Somerville' ] , [ loc . name for loc in middlesex_locs ] )