#NEWLINE# def test_get_document_by_example( self ) : #NEWLINE# #INDENT# uid = self . col1_doc1 . key #NEWLINE# doc = SimpleQuery . get_by_example ( collection = doc . test_1_col , example_data = { #NEWLINE# #INDENT# '_key' : uid , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertDocumentsEqual ( doc , self . col1_doc1 )