def error(code, message, template):
    if json_requested():
        return json_error(code, message)
    else:
        return render_template(template, message=message), code
Try to input junk into list_schema and expect error
dataset/ETHPy150Open rehandalal/buchner/buchner/project-template/PROJECTMODULE/errors.py/error--crossover with--dataset/ETHPy150Open SpriteLink/NIPAP/tests/nipapbase.py/NipapTest.test_schema_list_crap_input