#NEWLINE# def test_appCondition( self ) : #NEWLINE# #INDENT# '\n        Test parsing of an error element with an app specific condition.\n        ' #NEWLINE# condition = self . error . addElement ( ( 'testns' , 'condition' ) ) #NEWLINE# result = error . _parseError ( self . error , 'errorns' ) #NEWLINE# self . assertEqual ( condition , self [ 'appCondition' ] )