#NEWLINE# def test_uuid_default( self ) : #NEWLINE# #INDENT# ' Tests uuid defaults work properly ' #NEWLINE# default = uuid . uuid4 ( ) #NEWLINE# prop = UUID ( default = default , required = True ) #NEWLINE# self . assertEqual ( prop . to_database ( None ) , prop . to_database ( self ) )