#NEWLINE# def test_search_method( self ) : #NEWLINE# #INDENT# image = Image . objects . create ( title = 'Test image' , file = get_test_image_file ( ) ) #NEWLINE# results = Image . objects . search ( 'Test' ) #NEWLINE# self . assertEqual ( list ( results ) , [ image ] )