#NEWLINE# def test_typeCheckBooleanBad( self ) : #NEWLINE# #INDENT# '\n        A bad value for a boolean field should raise a ValueError\n        ' #NEWLINE# field = data_form . Field ( fieldType = 'boolean' , var = 'test' ) #NEWLINE# field . value = 'test' #NEWLINE# self . assertRaises ( ValueError , self . typeCheck )