2 İşlemeler 09465d53ff ... 920592b06b

Yazar SHA1 Mesaj Tarih
  123456 920592b06b Merge remote-tracking branch 'origin/feature/v1.0.1' into feature/v1.0.1 6 ay önce
  123456 e0c003c1bf 验证数据导出邮箱验证码 6 ay önce
1 değiştirilmiş dosya ile 17 ekleme ve 0 silme
  1. 17 0
      cases/pc/登录功能/数据/check_mailverify.py

+ 17 - 0
cases/pc/登录功能/数据/check_mailverify.py

@@ -0,0 +1,17 @@
+from hytest import *
+from lib.webapi import apimgr
+
+
+class c1:
+    name = "验证数据导出邮箱验证码"
+    def teststeps(self):
+        INFO("测试步骤")
+        STEP(1,"第一步调用函数")
+        res = apimgr.check_mailverify() #调用函数webapi里的check_mailverify函数
+        r = res.json() #用json格式返回
+        actural = r["success"]
+        STEP(2,"设置检查点")
+        CHECK_POINT("输入错误的邮箱验证码,返回值若为False,则代表此接口调用成功",actural == False)
+
+
+