Commit 5c3893ec authored by 林颖's avatar 林颖

修改遗落点

parent 4ee1023b
......@@ -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")
......
......@@ -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"]
......
......@@ -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"]
# 收藏之后取消收藏
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment