def test_check_report(self, check_url, check_data, check_expect):
     check_report_resp = StudentCenter().check_report(check_url, check_data)
     # 断言
     if check_report_resp == check_expect:
         print("check report test successful")
     else:
         print("check report test fail")
Ejemplo n.º 2
0
 def test_records_report(self, records_url, records_data, records_expect):
     records_report_resp = StudentCenter().records_report(records_url, records_data)
     # 断言
     if records_report_resp == records_expect:
         print("records report test successful")
     else:
         print("records report test fail")
Ejemplo n.º 3
0
 def test_appraisal_report(self, appraisal_url, appraisal_data, appraisal_expect):
     appraisal_report_resp = StudentCenter().essential_report(appraisal_url, appraisal_data)
     # 断言
     if appraisal_report_resp == appraisal_expect:
         print("appraisal report test successful")
     else:
         print("appraisal report test fail")
Ejemplo n.º 4
0
 def test_vacate_report(self, vacate_url, vacate_data, vacate_expect):
     vacate_report_resp = StudentCenter().essential_report(vacate_url, vacate_data)
     # 断言
     if vacate_report_resp == vacate_expect:
         print("vacate report test successful")
     else:
         print("vacate report test fail")
Ejemplo n.º 5
0
 def test_morning_report(self, morning_url, morning_data, morning_expect):
     morning_report_resp = StudentCenter().essential_report(morning_url, morning_data)
     # 断言
     if morning_report_resp == morning_expect:
         print("morning report test successful")
     else:
         print("morning report test fail")
Ejemplo n.º 6
0
 def test_essential_report(self, essential_url, essential_data, essential_expect):
     essential_report_resp = StudentCenter().essential_report(essential_url, essential_data)
     # 断言
     if essential_report_resp == essential_expect:
         print("essential report test successful")
     else:
         print("essential report test fail")
Ejemplo n.º 7
0
 def test_couser_report(self, couser_url, couser_data, couser_expect):
     couser_report_resp = StudentCenter().couser_report(couser_url, couser_data)
     # 断言
     if couser_report_resp == couser_expect:
         print("couser report test successful")
     else:
         print("couser report test fail")
Ejemplo n.º 8
0
 def test_class_report(self, class_url, class_data, class_expect):
     class_report_resp = StudentCenter().essential_report(class_url, class_data)
     # 断言
     if class_report_resp == class_expect:
         print("class report test successful")
     else:
         print("class report test fail")