#NEWLINE# def test_EncodeDecodeQuery( self ) : #NEWLINE# #INDENT# request = Query ( collection = 'coll' , n_to_skip = 123 , n_to_return = 456 , query = BSON . encode ( { #NEWLINE# #INDENT# 'x' : 42 , #NEWLINE# #UNINDENT# } ) , fields = BSON . encode ( { #NEWLINE# #INDENT# 'y' : 1 , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# self . __test_encode_decode ( request )