def setUp(self): self.login_api = loginApi() # 实例化empApi对象 self.emp_api = EmpApi() self.emp_url = "http://182.92.81.159" + "/api/sys/user" pass
def setUp(self) -> None: self.login_api = loginApi() self.login_url = "http://ihrm-test.itheima.net/api/sys/login"
def setUp(self) -> None: self.login_api = loginApi() self.emp_api = empApi() self.dbutils = DButils() self.adduser_url = "http://ihrm-test.itheima.net/api/sys/user"
def setUp(self): # 实例化loginApi self.login_api = loginApi()