def test_login(self, mobile, code, username): logging.info("mobile, code, username" + mobile + code + username) # 登录 self.login_proxy.click_login(mobile, code) # 断言 is_exist = utils.exist_text(DriverUtil.get_mp_driver(), username) assert is_exist
def __init__(self): self.driver = DriverUtil.get_mp_driver()