def auditor_conditions(): from contentbase.auditor import Auditor auditor = Auditor() auditor.add_audit_checker(raising_checker, 'test', has_condition1) return auditor
def auditor(request): from contentbase.auditor import Auditor auditor = Auditor() auditor.add_audit_checker(request.param, 'test') return auditor