#NEWLINE# def test_typeCheckBooleanFalse( self ) : #NEWLINE# #INDENT# '\n        Test possible False values for a boolean field.\n        ' #NEWLINE# field = data_form . Field ( fieldType = 'boolean' , var = 'test' ) #NEWLINE# for value in ( False , 0 , '0' , 'false' , 'False' , [ ] ) : #NEWLINE# #INDENT# field . value = value #NEWLINE# field . typeCheck ( ) #NEWLINE# self . assertIsInstance ( field . value , bool ) #NEWLINE# self . assertFalse ( field . value )