#NEWLINE# def test_defaults( self ) : #NEWLINE# #INDENT# field = fields . FormattedString ( 'Hello {name}' ) #NEWLINE# assert ( not self . required ) #NEWLINE# assert_equal ( field . __schema__ , { #NEWLINE# #INDENT# 'type' : 'string' , #NEWLINE# #UNINDENT# } )