Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
WMS_AutoTest
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡洪 Hope Hu
WMS_AutoTest
Commits
f22f9427
Commit
f22f9427
authored
Mar 12, 2021
by
Missv4you
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3
parent
c9b7fdbe
Pipeline
#7025
canceled with stages
Changes
6
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
5505 deletions
+7
-5505
testcase.py
base/testcase.py
+4
-2
config.ini
config/config.ini
+1
-1
logs2021-03-04.log
logs/logs2021-03-04.log
+0
-5500
report.html
report/report.html
+1
-1
report_data.json
report/report_data.json
+1
-1
testcase.xlsx
user_custom/testcase.xlsx
+0
-0
No files found.
base/testcase.py
View file @
f22f9427
...
...
@@ -113,9 +113,11 @@ class TestCase:
if
__name__
==
'__main__'
:
demo
=
TestCase
()
a
=
{
'c'
:
'ww'
}
b
=
{
'a'
:
'aaa'
,
'b'
:
'bbb'
,
'c'
:
{
'ggg'
:
'111'
},
'd'
:
[{
'xsd'
:
'tttt'
},
{
'rr'
:
'aaa'
}]}
print
(
a
)
print
(
b
)
a
=
TestCase
()
.
assert_json
(
a
,
b
)
print
(
a
)
# a = TestCase().assert_json(a, b)
# aaa = demo.read_json_case(setting.json_data['json_data_path'])
# print(aaa)
config/config.ini
View file @
f22f9427
...
...
@@ -10,4 +10,4 @@ path=../logs/logs
name
=
WMS-API-TEST
report_path
=
../report/report.html
[json_data]
json_data_path
=
..
\d
ata
\j
son_data
\
\ No newline at end of file
json_data_path
=
../data/json_data/
\ No newline at end of file
logs/logs2021-03-04.log
deleted
100644 → 0
View file @
c9b7fdbe
This diff is collapsed.
Click to expand it.
report/report.html
View file @
f22f9427
This diff is collapsed.
Click to expand it.
report/report_data.json
View file @
f22f9427
This diff is collapsed.
Click to expand it.
user_custom/testcase.xlsx
View file @
f22f9427
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