示例#1
0
 def test_myinfo_j(self):
     case_name="姓名输入七位----"
     rel_name="adcdefg"
     rel_card=""
     Log.print_case_info_identity(self, rel_name, rel_card, case_name)
     MyInfoHelper.identity_relname(self, rel_name, rel_card, case_name, 0)
     print("本条用例执行通过")
示例#2
0
 def test_myinfo_k(self):
     case_name="姓名输入特殊符号--"
     rel_name="---...///##" 
     rel_card=""
     Log.print_case_info_identity(self, rel_name, rel_card, case_name)
     MyInfoHelper.identity_relname(self, rel_name, rel_card, case_name, 0)
     print("本条用例执行通过")
示例#3
0
 def test_myinfo_g(self):
     case_name="都不输入点击提交--"
     rel_name=""
     rel_card=""
     Log.print_case_info_identity(self, rel_name, rel_card, case_name)
     MyInfoHelper.identity_relname(self, rel_name, rel_card, case_name, 0)
     print("本条用例执行通过")
示例#4
0
 def test_myinfo16(self):
     case_name="姓名输入特殊符号--"
     rel_name="test" 
     rel_card="130424166658920218"
     Log.print_case_info_identity(self, rel_name, rel_card, case_name)
     MyInfoHelper.identity_relname(self, rel_name, rel_card, case_name, 0)
     print("本条用例执行通过")   
示例#5
0
 def test_myinfo_o(self):
     case_name="身份证输入18位错误"
     rel_name="test" 
     rel_card="130424166658920218"
     Log.print_case_info_identity(self, rel_name, rel_card, case_name)
     MyInfoHelper.identity_relname(self, rel_name, rel_card, case_name, 1)
     print("本条用例执行通过")
示例#6
0
 def test_myinfo_n(self):
     case_name="身份证号输入18个1"
     rel_name="test" 
     rel_card="111111111111111111"
     Log.print_case_info_identity(self, rel_name, rel_card, case_name)
     MyInfoHelper.identity_relname(self, rel_name, rel_card, case_name, 1)
     print("本条用例执行通过")
示例#7
0
 def test_myinfo_m(self):
     case_name="身份证号输入19位-"
     rel_name="test" 
     rel_card="1234567890123456789"
     Log.print_case_info_identity(self, rel_name, rel_card, case_name)
     MyInfoHelper.identity_relname(self, rel_name, rel_card, case_name, 1)
     print("本条用例执行通过")