예제 #1
0
 def setUp(self):
     self.login_api=loginAPI()
     self.trust_api=trustAPI()
     self.session=requests.Session()
예제 #2
0
 def setUpClass(cls):
     cls.login_api = loginAPI()
     cls.tender_api = tenderAPI()
     cls.session = requests.Session()
     cls.trust_api = trustAPI()
예제 #3
0
 def setUp(self) -> None:
     #初始化API的对象
     self.trust_api = trustAPI()
     self.login_api = loginAPI()
     #初始化session对象
     self.session = requests.Session()