#NEWLINE# def test_max_exclusive( self ) : #NEWLINE# #INDENT# field = fields . Date ( max = '1984-06-07' , exclusiveMax = True ) #NEWLINE# assert_in ( 'maximum' , field . __schema__ ) #NEWLINE# assert_equal ( field . __schema__ [ 'maximum' ] , '1984-06-07' ) #NEWLINE# assert_in ( 'exclusiveMaximum' , field . __schema__ ) #NEWLINE# assert_equal ( field . __schema__ [ 'exclusiveMaximum' ] , True )