#NEWLINE# def test_findForm( self ) : #NEWLINE# #INDENT# element = domish . Element ( ( None , 'test' ) ) #NEWLINE# theForm = data_form . Form ( 'submit' , formNamespace = 'myns' ) #NEWLINE# element . addChild ( theForm . toElement ( ) ) #NEWLINE# form = data_form . findForm ( element , 'myns' ) #NEWLINE# self . assertEqual ( 'myns' , form . formNamespace )