def setUp(self): self.server = pants.Server(ConnectionClass=FileSender).listen( ('127.0.0.1', 4040)) PantsTestCase.setUp(self)
def setUp(self): self.server = pants.Server(ConnectionClass=Echo, ssl_options=SSL_OPTIONS).listen( ('127.0.0.1', 4040)) PantsTestCase.setUp(self)
def setUp(self): self.server = pants.Server(ConnectionClass=LineOriented).listen(('127.0.0.1', 4040)) PantsTestCase.setUp(self)
def setUp(self): self.server = pants.Server(NetStructOriented).listen(('127.0.0.1', 4040)) PantsTestCase.setUp(self)
def setUp(self): self.server = pants.Server(ConnectionClass=EchoToAll).listen( ('127.0.0.1', 4040)) PantsTestCase.setUp(self)