liumiaomiao 5 months ago
parent
commit
790a0acdc6
2 changed files with 0 additions and 23 deletions
  1. 0 11
      cases/pc/未登录功能/bidsearch.py
  2. 0 12
      cases/pc/未登录功能/buyersearch.py

+ 0 - 11
cases/pc/未登录功能/bidsearch.py

@@ -1,11 +0,0 @@
-from hytest import *
-from lib.webapi import apimgr
-
-class c1:
-    name = '未登录招标搜索'
-    def teststeps(self):
-        res=apimgr.notloggedin_search()
-        code=res.status_code
-
-        # 设置检查点
-        CHECK_POINT('检查未登录招标搜索接口是否正常', code == 200)

+ 0 - 12
cases/pc/未登录功能/buyersearch.py

@@ -1,12 +0,0 @@
-from hytest import *
-from lib.webapi import apimgr
-
-class c1:
-    name = '未登录采购单位搜索'
-    def teststeps(self):
-        res=apimgr.notloggedin_buysearch('科技')
-        r=res.json()
-        INFO(r)
-        actural = r['data']['count']
-        # 设置检查点
-        CHECK_POINT('检查未登录采购单位搜索接口是否正常', actural != 0)