Commit e01e7b92 by jiaqiying

modify base config name

parent e30367a7
......@@ -5,11 +5,12 @@ class BaseConfig():
# 请求头
headers = {'Content-Type': 'application/json; charset=utf-8'}
# 当前运行的产品名
name = "bmc"
test_case_dir = "test_case/bmc/"
name = "auto"
test_case_dir = "test_case/"
salt = 'hikcreate_xj' # SSO 登录的东西
secs=0.1
class BMCConfig(BaseConfig):
"""斑马信用app的配置类"""
# 测试用例目录
......@@ -18,6 +19,7 @@ class BMCConfig(BaseConfig):
test_case_data_dir = "test_case_data/bmc/"
webhook = ''
class BmyConfig(BaseConfig):
"""企业云的配置类"""
name = "bmy"
......
......@@ -5,4 +5,5 @@ import pytest
@pytest.fixture(scope="function",autouse=True)
def sleep():
print("wait wait")
time.sleep(config.BaseConfig.secs)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment