def testBindToAddress(self): # we need to free the binding address at first del self.srv self.srv = BsdRadiusServer() self.srv.BindToAddress("localhost")
def setUp(self): self.srv = BsdRadiusServer() self.th = BaseThread(self.srv)
def setUp(self): self.srv = BsdRadiusServer(addresses=['127.0.0.1'])