#NEWLINE# def test_data_point_to_dictionary( self ) : #NEWLINE# #INDENT# d = { #NEWLINE# #INDENT# 't' : '2013-12-18T00:00:00' , #NEWLINE# 'v' : 1.0 , #NEWLINE# #UNINDENT# } #NEWLINE# d = DataPoint ( d , None ) #NEWLINE# j = d . to_dictionary ( ) #NEWLINE# self . assertEquals ( d [ 't' ] , '2013-12-18T00:00:00' ) #NEWLINE# self . assertEquals ( j [ 'v' ] , 1.0 )