Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
backend_auto
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
邓莹莹
backend_auto
Commits
5c3893ec
Commit
5c3893ec
authored
Jun 04, 2021
by
林颖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改遗落点
parent
4ee1023b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
path_setting.py
path_setting.py
+2
-0
test_diary_cancel.py
test_backend_case/diary_case/test_diary_cancel.py
+2
-2
test_diary_isfavor.py
test_backend_case/diary_case/test_diary_isfavor.py
+2
-1
No files found.
path_setting.py
View file @
5c3893ec
...
...
@@ -4,10 +4,12 @@ BASE_DIR = os.path.dirname(os.path.dirname(__file__))
sys
.
path
.
append
(
BASE_DIR
)
HOSTYAML_CONFIG
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto"
,
"host.yaml"
)
LOGIN_FUNCTION_DATA
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto"
,
"login_session_function.yaml"
)
APYAML_CONFIG
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/all_backend_api"
,
"account_request.yaml"
)
LOGIN_VFC
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/test_backend_data/account_data"
,
"login_vfc.yaml"
)
#日记本详情页--字段判空
DIARY_DATA_CONFIG
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/all_backend_api"
,
"diary_data_request.yaml"
)
DIARY_DATA
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/test_backend_data/account_data"
,
"diary_data.yaml"
)
...
...
test_backend_case/diary_case/test_diary_cancel.py
View file @
5c3893ec
...
...
@@ -16,8 +16,8 @@ class TestDiaryCancelfavor:
# print(r)
if
r
[
"error"
]
==
0
:
assert
r
[
"message"
]
==
param
[
"assert"
]
assert
r
[
"message"
]
==
param
[
"assert2"
]
if
r
[
"error"
]
==
1
:
assert
r
[
"message"
]
==
param
[
"assert2"
]
...
...
test_backend_case/diary_case/test_diary_isfavor.py
View file @
5c3893ec
...
...
@@ -16,7 +16,8 @@ class TestDiaryIsfavor:
# print(r)
if
r
[
"error"
]
==
0
:
assert
r
[
"message"
]
==
param
[
"assert"
]
assert
r
[
"message"
]
==
param
[
"assert2"
]
if
r
[
"error"
]
==
1
:
assert
r
[
"message"
]
==
param
[
"assert2"
]
# 收藏之后取消收藏
...
...
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