#NEWLINE# def test_query_results( index , document ) : #NEWLINE# #INDENT# index . put ( document ) #NEWLINE# ( total_matches , list_of_docs , number_of_docs_returned ) = snippets . query_results ( index , 'meep' ) #NEWLINE# assert ( total_matches == 1 ) #NEWLINE# assert list_of_docs #NEWLINE# assert ( number_of_docs_returned == 1 )