class Constant:
    # 字符集
    CHAR_SET_DB                       = "utf8"
    CHAR_SET_FILE                     = "utf-8"

    # 所用日志filterpattern
    LOGGER_NAME                       = "suning.logger.core"

    # 目录路经
    PATH_FOR_REPORTS                  = "reports"
    PATH_FOR_CASES                    = "cases"
    PATH_FOR_LOGS                     = "logs"
    PATH_FOR_FILES                    = "files"
    PATH_FOR_CONF                     = "conf"

    # 视频相关参数
    PPTV_SHORT_VIDEO                  = "shortVideo"

    # 日志，配置文件
    LOG_FILE_NAME                     = "conf/log.yaml"
    CONFIG_FILE_NAME                  = "config.ini"
    HEADER_FILE_NAME                  = "header.json"
    MOCK_FILE_NAME                    = "mock_date.json"

    # 配置DB区域
    CONFIG_PARAM_DB                   = "DB"
    CONFIG_PARAM_DB_HOST              = "host"
    CONFIG_PARAM_DB_PORT              = "port"
    CONFIG_PARAM_DB_DATABASE          = "database"
    CONFIG_PARAM_DB_USERNAME          = "user"
    CONFIG_PARAM_DB_PASSWORD          = "password"
    
    # 配置文件TEST区域
    CONFIG_PARAM_RUN                  = "Run"
    CONFIG_PARAM_RUN_PATTERN          = "casePattern"
    CONFIG_PARAM_RUN_SEGMENTATION     = "host"
    CONFIG_PARAM_RUN_WWSY             = "wwsy"

    # 配置文件Environment区域
    CONFIG_PARAM_ENV                  = "Environment"
    CONFIG_PARAM_ENV_PRD              = "prd"
    CONFIG_PARAM_ENV_SIT              = "sit"
    CONFIG_PARAM_ENV_PRE              = "pre"
    CONFIG_PARAM_ENV_GRAY             = "gray"

    # 配置文件JD-prd区域
    CONFIG_PARAM_SUNING_PRD           = "Suning-prd"
    CONFIG_PARAM_SUNING_PRD_SEARCH    = "search"
    CONFIG_PARAM_SUNING_PRD_LIST      = "list"

    #配置文件JD-sit区域
    CONFIG_PARAM_SUNING_SIT           = "Suning-sit2"
    CONFIG_PARAM_SUNING_SIT_SEARCH    = "search"
    CONFIG_PARAM_SUNING_SIT_LIST      = "list"

    # 报告标题及描述
    REPORT_TITLE                      = "展翅重构平台-自动化测试报告"
    REPORT_DESCRIPTION                = "订单管理-订单列表接口"
