def test09(self):
     '''企业忘记登录密码'''
     user=method.forgotpwd(self.qy['mobile'],'111111','111111','000000',2)
     self.assertEqual('00000000',user['status'])
 def test08(self):
     '''新密码为空'''
     user = method.forgotpwd(self.gr['mobile'], '111111', '')
     self.assertEqual('20001001',user['status'])
 def test06(self):
     '''短信验证码不对'''
     user = method.forgotpwd(self.gr['mobile'], '111111', '111111', '0768575')
     self.assertEqual('20002004',user['status'])
 def test05(self):
     '''图形验证码不对'''
     user = method.forgotpwd(self.gr['mobile'], '111111', '111111', '000000',1,'453465')
     self.assertEqual('20002014',user['status'])
 def test02(self):
     '''两次密码不一样'''
     user = method.forgotpwd(self.gr['mobile'], '111111', '123456')
     self.assertEqual('20002018',user['status'],msg="两次密码不一样")
 def test01(self):
     '''个人忘记登录密码'''
     user=method.forgotpwd(self.gr['mobile'],'111111','111111')
     self.assertEqual('00000000',user['status'])