def test_FSD_check_account(accountdata): #accountdata=flyuser.testdata_flyuser_add_tools_002 my_obj = FSDLogin() ret = my_obj.fsd_check_account(accountdata) if ret != 0: print('account is not exist') return ret
from conf import server_config as device from conf import api_url as api import time import datetime import os from data import Flyuser_testdata as flyuser from data import System_Management_testdata as sysuser from common.FSD_UserLogin import FSDLogin from modules.FSD_ReserveOrder_module import * from data import readtxt from data import Ywb_testdata as ywbuser from data import Mendian_testdata as mduser my_obj = FSDLogin() #sys syslogindata=sysuser.testdata_system_login_userdata_001 #ordernumber=sysuser.testdata_001_query_ordernumber queryassginflyuser=sysuser.testdata_sys_query_assignflyuser_001 assignflyuser=sysuser.testdata_sys_assign_flyuser_001 #fsd flyuserdata=flyuser.testdata_FSD_login_userdata_002 flyuser_msgdata=flyuser.testdata_FSD_messege_data_001 updateorderdata=flyuser.testdata_FSD_updateorderstate_001 submitorderdata=flyuser.testdata_FSD_updateorderreport_001 #ywb ywblogindata=ywbuser.testdata_YWB_login_userdata_001 ywbsalesmanquerydata=ywbuser.testdata_YWB_salesmanquery_data_001 ywb_phone=ywblogindata['phone']
import string import json import sys from common.basic_http import * from conf import server_config as device from conf import api_url as api import time import datetime from data import Flyuser_testdata as flyuser from data import System_Management_testdata as sysuser from common.FSD_UserLogin import FSDLogin my_obj = FSDLogin() flyuserdata = flyuser.testdata_FSD_login_userdata_001 password = flyuser.testdata_FSD_setpasswords_password flyauth = flyuser.testdata_FSD_ahth sysdata = sysuser.testdata_system_login_userdata_001 queryauth = sysuser.testdata_sys_query_auth_001 sysflyuserauth = sysuser.testdata_fly_user_auth_001 #实名认证 sysflyauth = sysuser.testdata_fly_auth_001 #飞手认证 flyuserteamdata = flyuser.testdata_create_flyuser_team_001 operatecardata = flyuser.testdata_FSD_add_operate_car_001 addplanedata = flyuser.testdata_flyuser_add_plane_001 headers = device.DICT__Register_HEADERS