示例#1
0
def auditor_conditions():
    from contentbase.auditor import Auditor
    auditor = Auditor()
    auditor.add_audit_checker(raising_checker, 'test', has_condition1)
    return auditor
示例#2
0
def auditor_conditions():
    from contentbase.auditor import Auditor
    auditor = Auditor()
    auditor.add_audit_checker(raising_checker, 'test', has_condition1)
    return auditor
示例#3
0
def auditor(request):
    from contentbase.auditor import Auditor
    auditor = Auditor()
    auditor.add_audit_checker(request.param, 'test')
    return auditor
示例#4
0
def auditor(request):
    from contentbase.auditor import Auditor
    auditor = Auditor()
    auditor.add_audit_checker(request.param, 'test')
    return auditor