#NEWLINE# def _assert_vopteq_multi( self , d , key , value ) : #NEWLINE# #INDENT# q = Query ( ** { #NEWLINE# #INDENT# key : d , #NEWLINE# #UNINDENT# } ) #NEWLINE# enc = q . encoded #NEWLINE# res = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for kvp in enc . split ( '&' ) : #NEWLINE# #INDENT# ( k , v ) = kvp . split ( '=' ) #NEWLINE# res [ k ] = v #NEWLINE# #UNINDENT# d = d . copy ( ) #NEWLINE# for k in d : #NEWLINE# #INDENT# d [ k ] = ulp . quote ( d [ k ] ) #NEWLINE# #UNINDENT# self . assertEqual ( res , d )