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
34956ab9
Commit
34956ab9
authored
May 12, 2021
by
taoke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试Jenkins拉取
parent
8c90161b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
10 deletions
+1
-10
service/login.py
+1
-1
test_case/bmy/test1.py
+0
-7
test_case/bmy/test_login.py
+0
-2
No files found.
service/login.py
View file @
34956ab9
...
@@ -109,7 +109,7 @@ class BMC():
...
@@ -109,7 +109,7 @@ class BMC():
print
(
resp
.
json
())
print
(
resp
.
json
())
pvt_token
=
resp
.
json
()[
"data"
][
"token"
]
pvt_token
=
resp
.
json
()[
"data"
][
"token"
]
print
(
pvt_token
)
print
(
pvt_token
)
return
encrypted_token
,
pvt_token
return
encrypted_token
,
pvt_token
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
...
...
test_case/bmy/test1.py
deleted
100644 → 0
View file @
8c90161b
#作者: taoke
#时间: 2021/5/10 17:44
#编码: -- coding: utf-8 --
#版本: !python3.7
# 测试Jenkins拉取代码
\ No newline at end of file
test_case/bmy/test_login.py
View file @
34956ab9
...
@@ -61,4 +61,3 @@ if __name__ == '__main__':
...
@@ -61,4 +61,3 @@ if __name__ == '__main__':
pytest
.
main
([
'test_login.py'
,
'-s'
,
'--alluredir'
,
'../../report/tmp'
])
pytest
.
main
([
'test_login.py'
,
'-s'
,
'--alluredir'
,
'../../report/tmp'
])
# # 启动默认浏览器打开报告
# # 启动默认浏览器打开报告
os
.
system
(
'allure serve ../../report/tmp'
)
os
.
system
(
'allure serve ../../report/tmp'
)
# requests.post("http://testyun.banmago.com/api/auth/login",data=)
\ No newline at end of file
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