|
@@ -1,3 +1,5 @@
|
|
|
|
+from time import sleep
|
|
|
|
+
|
|
from hytest import *
|
|
from hytest import *
|
|
from lib.webapi import apimgr
|
|
from lib.webapi import apimgr
|
|
class c3:
|
|
class c3:
|
|
@@ -6,7 +8,8 @@ class c3:
|
|
#测试步骤
|
|
#测试步骤
|
|
def teststeps(self):
|
|
def teststeps(self):
|
|
INFO('测试步骤')
|
|
INFO('测试步骤')
|
|
- STEP(1,'第一步调用函数') #会出现在测试报告中
|
|
|
|
|
|
+ STEP(1,'第一步调用函数') #会出现在测试报告中
|
|
|
|
+ sleep(3)
|
|
r = apimgr.enterpriseSearch()
|
|
r = apimgr.enterpriseSearch()
|
|
if r is not None:
|
|
if r is not None:
|
|
try:
|
|
try:
|