liumiaomiao 10 månader sedan
förälder
incheckning
43042fb5dc

+ 1 - 1
cases/pc/登录功能/数据/export_frame.py

@@ -6,7 +6,7 @@ class c1:
     def teststeps(self):
         INFO('测试步骤')
         STEP(1, '第一步调用函数')
-        res=apimgr.Export_frame()
+        res=apimgr.export_frame()
         r = res.json()
         actural = r['isPrompt']
         STEP(2, '第二步设置检查点')

+ 1 - 1
cases/pc/登录功能/数据/export_prompt.py

@@ -6,7 +6,7 @@ class c1:
     def teststeps(self):
         INFO('测试步骤')
         STEP(1, '第一步调用函数')
-        res=apimgr.Export_prompt()
+        res=apimgr.export_prompt()
         r = res.json()
         actural = r['success']
         STEP(2, '第二步设置检查点')

+ 2 - 2
lib/webapi.py

@@ -419,7 +419,7 @@ class APIMgr():
         return response
 
     """数据导出-超出2w条,点击不在提示"""
-    def Export_prompt(self):
+    def export_prompt(self):
         hearders = GSTORE['headers']
         s = GSTORE['s']
         params={
@@ -429,7 +429,7 @@ class APIMgr():
         return response
 
     """数据导出-判断是否展示弹框"""
-    def Export_frame(self):
+    def export_frame(self):
         hearders = GSTORE['headers']
         s = GSTORE['s']
         response = s.post(f"{cfg.target_host}/front/dataExport/getDontPromptAgain", headers=hearders)