def test_myinfo_u(self): case_name="输入正确但非本人号码" mobile="13683052819" Log.print_case_info_get_code(self, mobile, case_name) MyInfoHelper.get_code_by_mobile(self, mobile, case_name, 1) print("本条用例执行通过")
def test_myinfo_t(self): case_name="输入特殊符号点击获取" mobile="***???//~~" Log.print_case_info_get_code(self, mobile, case_name) MyInfoHelper.get_code_by_mobile(self, mobile, case_name, 1) print("本条用例执行通过")
def test_myinfo_s(self): case_name="输入12个1点击获取" mobile="1111111111" Log.print_case_info_get_code(self, mobile, case_name) MyInfoHelper.get_code_by_mobile(self, mobile, case_name, 1) print("本条用例执行通过")
def test_myinfo_r(self): case_name="输入13位点击获取-" mobile="1234567890123" Log.print_case_info_get_code(self, mobile, case_name) MyInfoHelper.get_code_by_mobile(self, mobile, case_name, 1) print("本条用例执行通过")
def test_myinfo_q(self): case_name="输入1位点击获取--" mobile="1" Log.print_case_info_get_code(self, mobile, case_name) MyInfoHelper.get_code_by_mobile(self, mobile, case_name, 0) print("本条用例执行通过")
def test_myinfo_p(self): case_name="不输入手机号点击获取" mobile="" Log.print_case_info_get_code(self, mobile, case_name) MyInfoHelper.get_code_by_mobile(self, mobile, case_name, 1) print("本条用例执行通过")