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
51b0a598
Commit
51b0a598
authored
May 11, 2021
by
taoke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
类用例,增加
parent
b8e612e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
config.py
+1
-1
test_case/bmy/test_riskMonitor2.py
+1
-1
No files found.
config.py
View file @
51b0a598
...
@@ -66,7 +66,7 @@ class BmyConfig(BaseConfig):
...
@@ -66,7 +66,7 @@ class BmyConfig(BaseConfig):
test_name_password
=
{
"username"
:
"15151500000"
,
"password"
:
"bmy123456"
}
test_name_password
=
{
"username"
:
"15151500000"
,
"password"
:
"bmy123456"
}
# 企业云接口的Authorization
# 企业云接口的Authorization
bmy_token
=
''
bmy_token
=
''
header
=
{
'Authorization'
:
bmy_token
,
"Content-Type"
:
"application/json"
}
header
=
{
"Content-Type"
:
"application/json"
}
class
SSOConfig
(
BaseConfig
):
class
SSOConfig
(
BaseConfig
):
...
...
test_case/bmy/test_riskMonitor2.py
View file @
51b0a598
...
@@ -38,7 +38,7 @@ class TestLogin():
...
@@ -38,7 +38,7 @@ class TestLogin():
def
teardown_class
(
self
):
def
teardown_class
(
self
):
"""清除"""
"""清除"""
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
for
one
in
os
.
listdir
(
'../../report/tmp'
):
# 列出对应文件夹的数据
for
one
in
os
.
listdir
(
'../../report/tmp'
):
# 列出对应文件夹的数据
if
'json'
in
one
:
if
'json'
in
one
:
...
...
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