Commit f0582d29 by zhangchunyao

code update

parent 7fd09755
......@@ -8,9 +8,6 @@ from urllib.parse import urlencode
import textwrap
import sys
reload(sys)
sys.setdefaultencoding('utf8')
# 打开文件
def xlsx_open(filepath):
......@@ -248,7 +245,7 @@ def dosheet(brd,bwt,sheetIndex):
object = xlsx_getRow(brd_sheet,i)
result = xlsx_request(object)
if result==0:
print("此行是接口说明,跳过不执行")
print("This line is an interface description, skip")
elif type(object["expected_code"])==type(1.0):
if result.get(object["code"]) == object["expected_code"]:
xlsx_set(bwt_sheet, i, 10, "pass", False)
......
Markdown is supported
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