摘要:
import base64import gzipimport jsonclass Character: def __init__(self, response): self.response = response def character(self): json_response = self.r 阅读全文
摘要:
from common.readconfig import ReadConfigimport cx_Oracleclass HandleOracle(object): def __init__(self, sec): self.data = ReadConfig() # 读取数据库配置文件 ip = 阅读全文
摘要:
import configparserimport osclass ReadConfig: """定义一个读取配置文件""" def __init__(self, filepath=None): if filepath: configpath = filepath else: root_dir = 阅读全文
摘要:
import osfrom common.readconfig import ReadConfigclass ReadCaseDate(object): """读取测试案例数据""" def readcasedate(self): allfilepath = [] self.datadir = Re 阅读全文