Commit c9d1fc9f authored by liguangyu06's avatar liguangyu06
Browse files

用例优化

parent 7633db90
...@@ -48,7 +48,7 @@ host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") ...@@ -48,7 +48,7 @@ host, port, user, pwd = mysql_handle.getConf(db="cmdc_db")
# 数据库查询特价单品数量 # 数据库查询特价单品数量
sql = "SELECT t.groupId FROM `cmdc-order`.tc_fresenius_group t WHERE groupType = 1 and companyCode = 00111;" sql = "SELECT t.groupId FROM `cmdc-order`.tc_fresenius_group t WHERE groupType = 1 and companyCode = 00111;"
total = len(mysql_handle.selectSql(host, port, user, pwd, "cmdc-order", sql)[0]) total = len(mysql_handle.selectSql(host, port, user, pwd, "cmdc-order", sql))
# 获取预期结果 # 获取预期结果
check_dict = commonFuc().get_business_data(module, "checkDict1", total) check_dict = commonFuc().get_business_data(module, "checkDict1", total)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment