Commit e01e7b92 by jiaqiying

modify base config name

parent e30367a7
...@@ -5,11 +5,12 @@ class BaseConfig(): ...@@ -5,11 +5,12 @@ class BaseConfig():
# 请求头 # 请求头
headers = {'Content-Type': 'application/json; charset=utf-8'} headers = {'Content-Type': 'application/json; charset=utf-8'}
# 当前运行的产品名 # 当前运行的产品名
name = "bmc" name = "auto"
test_case_dir = "test_case/bmc/" test_case_dir = "test_case/"
salt = 'hikcreate_xj' # SSO 登录的东西 salt = 'hikcreate_xj' # SSO 登录的东西
secs=0.1 secs=0.1
class BMCConfig(BaseConfig): class BMCConfig(BaseConfig):
"""斑马信用app的配置类""" """斑马信用app的配置类"""
# 测试用例目录 # 测试用例目录
...@@ -18,6 +19,7 @@ class BMCConfig(BaseConfig): ...@@ -18,6 +19,7 @@ class BMCConfig(BaseConfig):
test_case_data_dir = "test_case_data/bmc/" test_case_data_dir = "test_case_data/bmc/"
webhook = '' webhook = ''
class BmyConfig(BaseConfig): class BmyConfig(BaseConfig):
"""企业云的配置类""" """企业云的配置类"""
name = "bmy" name = "bmy"
......
...@@ -5,4 +5,5 @@ import pytest ...@@ -5,4 +5,5 @@ import pytest
@pytest.fixture(scope="function",autouse=True) @pytest.fixture(scope="function",autouse=True)
def sleep(): def sleep():
print("wait wait")
time.sleep(config.BaseConfig.secs) 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