diff --git a/secator/runners/_base.py b/secator/runners/_base.py index a832f132..8ff50f4a 100644 --- a/secator/runners/_base.py +++ b/secator/runners/_base.py @@ -557,7 +557,7 @@ def run_validators(self, validator_type, *args, error=True): name = f'{self.__class__.__name__}.{validator_type}' fun = self.get_func_path(validator) if not validator(self, *args): - self.debug('', obj={name + ' [dim yellow]->[/] ' + fun: 'failed'}, id=_id, verbose=True, sub='validators') + self.debug('', obj={name + ' [dim yellow]->[/] ' + fun: '[dim red]failed[/]'}, id=_id, verbose=True, sub='validators') # noqa: E501 doc = validator.__doc__ if error: message = 'Validator failed' @@ -570,7 +570,7 @@ def run_validators(self, validator_type, *args, error=True): ) self.add_result(error, print=True) return False - self.debug('', obj={name + ' [dim yellow]->[/] ' + fun: 'success'}, id=_id, verbose=True, sub='validators') + self.debug('', obj={name + ' [dim yellow]->[/] ' + fun: '[dim green]success[/]'}, id=_id, verbose=True, sub='validators') return True def register_hooks(self, hooks):