#NEWLINE# def test_max_length_as_callable( self ) : #NEWLINE# #INDENT# field = self . field_class ( max_length = ( lambda : 42 ) ) #NEWLINE# assert_in ( 'maxLength' , self . __schema__ ) #NEWLINE# assert_equal ( field . __schema__ [ 'maxLength' ] , 42 )