Ejemplo n.º 1
0
 def test_184_datewayid(self):
     u"""网关ID不存在或被删除"""
     gwid = "as12121ds32"
     wifidog_business.edit_gatewayid(self,gwid)
     data = wifidog_business.redirest_network(self)
     assert gwid in data,u"修改后不存在的网关ID上报功能验证失败"
Ejemplo n.º 2
0
 def test_183_datewayid(self):
     u"""修改后网关ID上报功能验证"""
     gwid = "100msh2323"
     wifidog_business.edit_gatewayid(self,gwid)
     data = wifidog_business.redirest_network(self)
     assert gwid in data,u"修改后网关ID:%s上报功能验证失败"%gwid