#NEWLINE# def test_contains_filtering( self ) : #NEWLINE# #INDENT# q = Query ( ) #NEWLINE# q . append_collection ( self . test_1_col . name ) #NEWLINE# q . filter ( small_text__contains = 'll' ) #NEWLINE# docs = q . execute ( ) #NEWLINE# self . assertEqual ( len ( docs ) , 1 ) #NEWLINE# doc1 = docs [ 0 ] #NEWLINE# self . assertDocumentsEqual ( doc1 , self . col1_doc1 )