|
@@ -6,6 +6,7 @@ class c1:
|
|
def teststeps(self):
|
|
def teststeps(self):
|
|
INFO('测试步骤')
|
|
INFO('测试步骤')
|
|
STEP(1, '第一步调用函数')
|
|
STEP(1, '第一步调用函数')
|
|
|
|
+ apimgr.mgr_login()
|
|
res=apimgr.User_info()
|
|
res=apimgr.User_info()
|
|
r = res.json()
|
|
r = res.json()
|
|
INFO(r)
|
|
INFO(r)
|
|
@@ -13,4 +14,5 @@ class c1:
|
|
actural1=r['error_code']
|
|
actural1=r['error_code']
|
|
STEP(2, '第二步设置检查点')
|
|
STEP(2, '第二步设置检查点')
|
|
# 设置检查点
|
|
# 设置检查点
|
|
- CHECK_POINT('检查用户信息',actural=='18211989987' and actural1 == 0)
|
|
|
|
|
|
+ CHECK_POINT('检查用户信息',actural=='18211989987' and actural1 == 0)
|
|
|
|
+ apimgr.mgr_logout()
|