Example #1
0
 def testcase007(self):
     '''删除租户'''
     r = zu_hu().delete()
     self.assertIn(r, "删除成功", '测试失败')
Example #2
0
 def testcase008(self):
     '''修改配置单状态'''
     r = zu_hu().state()
     self.assertEqual(r, '配置成功', '测试失败')
Example #3
0
 def testcase006(self):
     '''专网租户登录'''
     r = zu_hu().zuhu_login("测试租户001", "18966453111")
     self.assertEqual(r, "态势感知", "测试失败")
Example #4
0
 def testcase005(self):
     '''租户专网配置[引用模版]'''
     r = zu_hu().peizhi_2()
     self.assertIn(r, "配置成功", "测试失败")
     Log().info("租户专网引用模版配置成功")
Example #5
0
 def testcase003(self):
     '''专网详情页页面跳转'''
     r = zu_hu().swith()
     self.assertIn(r, "专网配置", "测试失败")
Example #6
0
 def testcaose002(self):
     '''对专网租户信息进行编辑'''
     r = zu_hu().alter("修改名称", "李", "13150600101", "11")
     self.assertIn(r, "专网租户编辑成功", "测试失败")
Example #7
0
 def testcase001(self, name, xm, phone, beizhu):
     '''新建专网租户成功'''
     r = zu_hu().add(name, xm, phone, beizhu)
     self.assertEqual(r, "专网租户添加成功", "测试失败")
     Log().info(r)