def test_get_verify_general_user_code_01(self): global general_user_verify_code_01 general_user_verify_code_01 = verify_code_message( general_country_code_01, general_phone_01) assert_equal(True, bool(general_user_verify_code_01), '获取验证码成功', te='王洋')
def c_login_education_verifycode(request): sendverifycode = send_verify_code(request.param[0], request.param[1], 'PASSPORT_REGISTER') time.sleep(12) verifycode = verify_code_message(request.param[0], request.param[1]) result = verifyCode_login(request.param[0], request.param[1], verifycode, app_type='LGEdu') test_token_dict['00442020062701_H5_token'] = result['content']['userToken'] return result['content']['userToken'], result['content']['userInfo'][ 'userId'], result['content']['userInfo']['phone']
def test_get_verify_code(self): global verify_code verify_code = verify_code_message(countryCode, phone) assert_equal(True, bool(verify_code), "校验获取验证码成功", te='王洋')
def test_get_verify_code(): global verify_code verify_code = verify_code_message(countryCode, phone, flag_num=send_verify_code_times) assert_equal(True, bool(verify_code), "校验获取验证码成功", te='王洋')
def test_get_admin_verify_code(self): global verify_code verify_code = verify_code_message(admin_countryCode, admin_phone) assert_equal(True, bool(verify_code), '获取验证码成功', te='王洋')
def test_get_verify_code(self): global verify_code verify_code = verify_code_message(countryCode, phone) loger.info(f'发送验证码的结果:{verify_code}') assert_equal(True, bool(verify_code), "校验获取验证码成功", te='王洋')