#NEWLINE# def testInfoToDict( self ) : #NEWLINE# #INDENT# value = 'a=1;b=@;c=c;d=1@' #NEWLINE# expected = { #NEWLINE# #INDENT# 'a' : '1' , #NEWLINE# 'b' : '@' , #NEWLINE# 'c' : 'c' , #NEWLINE# 'd' : '1@' , #NEWLINE# #UNINDENT# } #NEWLINE# result = util . info_to_dict ( value ) #NEWLINE# self . assertEqual ( result , expected ) #NEWLINE# value = ':' . join ( value . split ( ';' ) ) #NEWLINE# result = util . info_to_dict ( value , ':' ) #NEWLINE# self . assertEqual ( result , expected )