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
ad2f30c5
Commit
ad2f30c5
authored
Jun 21, 2021
by
taoke
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ae0ca2b9
9a7357fc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
test_case/bmc/test_elebicycle.py
+4
-4
test_case_data/bmc/bmc_prize20210531.xlsx
+0
-0
No files found.
test_case/bmc/test_elebicycle.py
View file @
ad2f30c5
...
...
@@ -12,7 +12,7 @@ from common.tools import request_main
from
common.utils.getExcelData
import
get_excelData
from
config
import
BaseConfig
,
BMCConfig
@allure.feature
(
"电动车"
)
class
TestElebicycle
:
workbook
=
xlrd
.
open_workbook
(
f
'{BaseConfig.root_path}/test_case_data/bmc/bmc_prize20210531.xlsx'
)
...
...
@@ -518,10 +518,10 @@ class TestElebicycle:
mysql
.
ExecuNonQuery
(
"delete from edl_public.user_login_device where user_id=598137 and device_model='HUAWEI nava';"
)
if
__name__
==
'__main__'
:
pytest
.
main
([
"-s"
,
"-v"
,
"test_elebicycle.py"
,
'--alluredir'
,
'./bmc/report'
,
"--clean-alluredir"
])
#
if __name__ == '__main__':
#
pytest.main(["-s","-v","test_elebicycle.py",'--alluredir', './bmc/report',"--clean-alluredir"])
# pytest.main(['-v', '-s', "test_elebicycle.py::TestElebicycle::test_replacevehiclestatus", '--alluredir', './bmc/report', "--clean-alluredir"])
os
.
system
(
'allure serve ./bmc/report'
)
#
os.system('allure serve ./bmc/report')
# TestElebicycle().replacementDrvapply()
test_case_data/bmc/bmc_prize20210531.xlsx
View file @
ad2f30c5
No preview for this file type
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