#NEWLINE# def _validate_status( self , status ) : #NEWLINE# #INDENT# '\n        Validate result status\n        ' #NEWLINE# if ( self not in [ 'OK' , 'ERROR' , 'WARN' ] ) : #NEWLINE# #INDENT# raise ValidationError ( ( 'Result status has to be OK, ERROR or WARN, not %s' % status ) )