def setup(self): Authorizations = read(r'D:\NeustaAutotest\Test_data') self.headers = { 'sign': 'NUFoNQvVLy1l4FzFfsCDydEMkdujR8Dkiqnp99999999', 'Content-Type': 'application/json', 'Authorization': Authorizations[0][0] } self.http = Httprequests(self.url)
def setup_class(cls): path = '/api/carrier/systemManage/operationLog/getPageList' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/carrier/systemManage/carrierHomePage/getCarrierTotalRechargeAmount' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/carrier/agentManage/agent/agentPage' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/carrier/systemManage/sysNotice/getNoticeById' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path ='/api/carrier/systemManage/identity/getRoleDetail' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/carrier/systemManage/carrierHomePage/getCarrierRegisterNum' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path ='api/login/toSignout' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/login/getMyMenuAuthList' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/carrier/common/getDictionarySelectList' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/carrier/systemManage/carrierHomePage/selectCarrierSalesTalkInfoList' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/carrier/awardCommission/commission/getPageList' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/carrier/systemManage/account/getRechargeRecordPageList' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)
def setup_class(cls): path = '/api/carrier/systemManage/account/getCarrierAccountInfo' cls.url = URLConf.TEST_URL.value + path cls.http = Httprequests(cls.url)