# -*- encoding=utf8 -*-
from common.db.sql.sql_get_info import sql_get_info
from common.fileUtls import FileUtils
from common.run_cmd_script import execute_command
from common.timeUtils import timeUtils

__author__ = "xiaohesheng"

"""
case_tag:api,spd_core,a_a1_流程一外网企业注册审批,id2302,id2302-1,sit,on
内网:a_a1_流程一外网企业注册审批
python runner_test.py tag id2302-1 debug mdm3
"""

from common.common_func import commonFuc
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from airtest.core.api import using
import sys


def test1():
    #企业注册
    execute_command("python runner_test.py tag id2232 debug mdm3")
    #企业审核
    execute_command("python runner_test.py tag id2248 debug mdm3")
    #医院注册审核
    execute_command("python runner_test.py tag id2249 debug mdm3")
def main():
    try:
        test1()
        commonFuc().check_text_exist_result_text('succees', 'succees')
        print('=================流程一结束=================')
    except:
        commonFuc().check_text_exist_result_text('error', 'succees')
# main()