Commit 26f75551 authored by 林颖's avatar 林颖

test

parent 61849628
......@@ -12,9 +12,9 @@ class TestDIARYDATA:
@pytest.mark.parametrize("param",diary_data_data,ids=diary_data_case)
def test_diary_data(self,param):
print(2)
# print(2)
r = diary_data_reqest().diary_data(param["current_city_id"], param["diary_referrer"], param["sort"], param["count"], param["start_num"])
print(1)
# print(1)
if r["error"] == 0:
assert r["error"] == param["assert"]
# assert(r[""])
......
......@@ -10,10 +10,10 @@ diary_data:
assert: 0
-
case: "接口失败case"
case: "接口传参数失败,但不报错case"
current_city_id: "beijing"
diary_referrer: "my_diary"
sort: 0
count: 8
start_num: 2
assert: 1
assert: 0
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