Exemplo n.º 1
0
 def _f(object_to_check):
     log.info('{}, args: {}'.format(f_object, object_to_check))
     if object_to_check > 65536:
         raise Exceptions.FailCheckMaxValue('Oops :)')
     log.info('Function: {}, Status: OK'.format(f_object.__name__))
     return f_object(object_to_check)