Example #1
0
 def test_1_1_6(self):  # 账号及验证码正确
     assert login.Login_edit('17602120657',
                             '0657' + time.strftime('%m%d')) == '登陆成功'
Example #2
0
 def test_1_1_5(self):  # 验证码错误
     assert login.Login_edit('17602120657', '123123') != '登陆成功'
Example #3
0
 def test_1_1_4(self):  # 手机号格式错误
     assert login.Login_edit('21321', '123456') != '登陆成功'
Example #4
0
 def test_1_1_3(self):  # 验证码为空
     assert login.Login_edit('17602120657', '') != '登陆成功'
Example #5
0
 def test_1_1_2(self):  # 账号为空
     assert login.Login_edit('', '123456') != '登陆成功'
Example #6
0
 def test_1_1_1(self):  # 账号&验证码为空
     assert login.Login_edit('', '') != '登陆成功'