def caseDep(project): project = project.upper() handle = apicase.Case(project) if request.method == "POST": handle.postCaseDep(**request.form) caseList = handle.getCaseDep(**request.args) return render_template("caseDep.html", project=project, transList=caseList)
def caseResultDetail(project): project = project.upper() handle = apicase.Case(project) caseList = handle.getCaseLoopResult(**request.args) return render_template("caseResultDetail.html", project=project, transList=caseList)
def caseResultRemove(project): project = project.upper() handle = apicase.Case(project) handle.delCaseResult(**request.form) caseList = handle.getCaseResult() return render_template("caseResult.html", project=project, transList=caseList)
def testReport(project): project = project.upper() handle = apicase.Case(project) caseList = handle.getTestReport(**request.args) countDict = handle.getCountData(*caseList) return render_template("testReport.html", project=project, transList=caseList, infoDict=countDict)