Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InterfaceAutoTest
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TestAuto
InterfaceAutoTest
Commits
a0d3450c
Commit
a0d3450c
authored
May 18, 2021
by
taoke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加电子证照类初始化_删除发送验证码次数缓存
parent
19db2936
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
test_case/bmc/test_ ElectronicLicense.py
+3
-3
test_case_data/bmc/bmc_ele_License_2021513.xlsx
+0
-0
No files found.
test_case/bmc/test_ ElectronicLicense.py
View file @
a0d3450c
...
...
@@ -53,7 +53,9 @@ def imaAuditStatus(): # 查看照片审核状态
@allure.epic
(
"电子证照"
)
# @allure.feature("电子驾驶证")
class
TestDrivingLicense
():
workBook
=
xlrd
.
open_workbook
(
f
'{BaseConfig.root_path}/test_case_data/bmc/bmc_tk.xlsx'
)
workBook
=
xlrd
.
open_workbook
(
f
'{BaseConfig.root_path}/test_case_data/bmc/bmc_ele_License_2021513.xlsx'
)
def
setup_class
(
self
):
RedisString
(
0
)
.
delete_key
(
"edl:sms_total:18581438351"
)
# 删除发送验证码次数缓存
@allure.story
(
"二维码详情"
)
@allure.link
(
"http://yapi.hikcreate.com/project/32/interface/api/81596"
)
@allure.description
(
"/dlVeh/qr"
)
...
...
@@ -390,5 +392,3 @@ if __name__ == '__main__':
pytest
.
main
([
'test_ ElectronicLicense.py'
,
'-s'
,
'--alluredir'
,
'../../report/tmp'
])
# 启动默认浏览器打开报告
os
.
system
(
'allure serve ../../report/tmp'
)
test_case_data/bmc/bmc_
tk
.xlsx
→
test_case_data/bmc/bmc_
ele_License_2021513
.xlsx
View file @
a0d3450c
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment