Example #1
0
 def testcase05(self):
     '''删除切片'''
     r = qie_pian().delete()
     self.assertIn(r, '删除成功', '测试失败')
Example #2
0
 def testcase04(self):
     '''根据场景/业务条件进行查询'''
     r = qie_pian().select2()
     self.assertIn(r, "编辑", "测试失败")
Example #3
0
 def testcase02(self):
     '''对切片模板信息进行编辑'''
     r = qie_pian().alter()
     self.assertIn(r, "模板保存成功", "测试失败")
Example #4
0
 def testcase03(self):
     '''切片模版根据模版名称进行查询'''
     r = qie_pian().select1("切片模版一")
     self.assertIn(r, "编辑", "测试失败")
Example #5
0
 def testcase01(self, name, ip, port):
     '''创建切片模版'''
     r = qie_pian().add(name, ip, port)
     self.assertEqual(r, "模板保存成功", "测试失败")