def test_09_user_login_VerificationCode(self): """验证码登录""" logging.info('==验证码登录==') login = LoginBusiness(self.driver) data = login.get_csv_data('../data/product_data/login_data.csv', 9) login.login_code_action(data[0], data[1]) self.assertTrue(login.check_login_success_status())
def test_01_user_login(self): """正常登录用例""" logging.info('==正常账号成功登录用例==') login = LoginBusiness(self.driver) data = login.get_csv_data('../data/product_data/login_data.csv', 1) login.login_action(data[0], data[2]) self.assertTrue(login.check_login_success_status())
def test_10_user_login_ExperienceAccount(self): """体验账号登录""" logging.info('==体验账号登录==') login = LoginBusiness(self.driver) login.login_experience_account_action() self.assertTrue(login.check_login_success_status())