Ejemplo n.º 1
0
 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)
Ejemplo n.º 3
0
 def setup_class(cls):
     path = '/api/carrier/systemManage/carrierHomePage/getCarrierTotalRechargeAmount'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)
Ejemplo n.º 4
0
 def setup_class(cls):
     path = '/api/carrier/agentManage/agent/agentPage'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)
Ejemplo n.º 5
0
 def setup_class(cls):
     path = '/api/carrier/systemManage/sysNotice/getNoticeById'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)
Ejemplo n.º 6
0
 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)
Ejemplo n.º 8
0
 def setup_class(cls):
     path ='api/login/toSignout'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)
Ejemplo n.º 9
0
 def setup_class(cls):
     path = '/api/login/getMyMenuAuthList'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)
Ejemplo n.º 10
0
 def setup_class(cls):
     path = '/api/carrier/common/getDictionarySelectList'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)
Ejemplo n.º 11
0
 def setup_class(cls):
     path = '/api/carrier/systemManage/carrierHomePage/selectCarrierSalesTalkInfoList'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)
Ejemplo n.º 12
0
 def setup_class(cls):
     path = '/api/carrier/awardCommission/commission/getPageList'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)
Ejemplo n.º 13
0
 def setup_class(cls):
     path = '/api/carrier/systemManage/account/getRechargeRecordPageList'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)
Ejemplo n.º 14
0
 def setup_class(cls):
     path = '/api/carrier/systemManage/account/getCarrierAccountInfo'
     cls.url = URLConf.TEST_URL.value + path
     cls.http = Httprequests(cls.url)