#NEWLINE# def test_with_default( self ) : #NEWLINE# #INDENT# field = fields . Boolean ( default = True ) #NEWLINE# assert ( not field . required ) #NEWLINE# assert_equal ( field . __schema__ , { #NEWLINE# #INDENT# 'type' : 'boolean' , #NEWLINE# 'default' : True , #NEWLINE# #UNINDENT# } )