#NEWLINE# def test_decimal_default( self ) : #NEWLINE# #INDENT# ' Tests decimal defaults work properly ' #NEWLINE# default = D ( '2.00' ) #NEWLINE# prop = Decimal ( default = default , required = True ) #NEWLINE# self . assertEqual ( prop . to_database ( None ) , prop . to_database ( prop ) )