Commit 891eed17 by fanxun

三车违法学习用例完善2

parent b95ae0c4
......@@ -25,6 +25,7 @@ pycryptodome==3.10.1
pymysql==0.9.3
pyparsing==2.4.7; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'
pytest==6.0.1
pytest-ordering==0.6
redis==3.5.3
requests==2.22.0
six==1.15.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
......
......@@ -53,7 +53,7 @@ if __name__ == '__main__':
r'--alluredir=D:\项目\接口自动化\InterfaceAutoTest\report', '--clean-alluredir'])
#
# os.system('allure serve D:\项目\接口自动化\InterfaceAutoTest\\report')
# workBook = xlrd.open_workbook(f'{BMCConfig.root_path}/test_case_data/bmc/bmc_testcase01_20210513.xlsx')
# workBook = xlrd.open_workbook(f'{BMCConfig.root_path}/test_case_data/bmc/bmc_testcase01_20210513——本地.xlsx')
# inData = get_excelData(workBook, '三车违法学习', 'getPaperIllegalstudy')[0]
# # print(inData)
# TestCreditScore().bmc_login_fixture()
......
......@@ -38,7 +38,7 @@ class TestCreditScore():
res = request_main(url=url, headers=None, method=method, data=req_data, has_token=True)
assert res['code'] == expectData['code']
@pytest.mark.run(order=1)
@allure.story("获取试卷")
@allure.link("http://yapi.hikcreate.com/project/32/interface/api/69573")
@allure.description("/paper/getPaper")
......
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