Ejemplo n.º 1
0
 def __createService(self, subnet):
     service = DhcpServiceTestCase()
     service.setUp(subnet)
     proc = service.create(service.createProperties)
     self.__checkProcess(proc, service, 'create')
     service.testObjectExists()
     self.__service = service
Ejemplo n.º 2
0
	def __createService(self, subnet):
		service = DhcpServiceTestCase()
		service.setUp(subnet)
		proc = service.create(service.createProperties)
		self.__checkProcess(proc, service, 'create')
		service.testObjectExists()
		self.__service = service
Ejemplo n.º 3
0
	def __createService(self):
		service = DhcpServiceTestCase()
		service.setUp()
		service.name += self.random()
		proc = service.create(service.createProperties)
		self.__checkProcess(proc, service, 'create')
		service.testObjectExists()
		self.__service = service