# -*- encoding=utf8 -*-
import json
import traceback

from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.public1.public1.public1 import *

from common.fileUtls import FileUtils
from common.run_cmd_script import execute_command
from common.timeUtils import timeUtils
from airtest.core.api import using

__author__ = "xiaohesheng"

"""
case_tag:api,spd_core1,a_b3流程十请领业务流_二级库向边仓,id2302,id2302-13,sit,on
核心业务流:a_b3流程十请领业务流_二级库向边仓
python runner_test.py tag id2302-13 debug mdm3
"""



try:
    token, projectCode, uxid, corpId, info=login_platform()
    print(token, projectCode, uxid, corpId, info)
    # token, projectCode, uxid, corpId, info =login_logic_stock()
    # print(token, projectCode, uxid, corpId, info)

    commonFuc().check_text_exist_result_text('succees', 'succees')
except:
    commonFuc().check_text_exist_result_text('error', '1')
