#NEWLINE# def test_double_default( self ) : #NEWLINE# #INDENT# ' Tests double defaults work properly ' #NEWLINE# default = 7.0 #NEWLINE# prop = Double ( default = default , required = True ) #NEWLINE# self . assertEqual ( prop . to_database ( None ) , prop . to_database ( self ) )