MCPcopy
hub / github.com/tornadoweb/tornado / setUp

Method setUp

tornado/test/httpserver_test.py:834–838  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

832 address = ""
833
834 def setUp(self):
835 super().setUp()
836 app = Application([("/hello", HelloWorldRequestHandler)])
837 self.server = HTTPServer(app)
838 self.server.add_socket(netutil.bind_unix_socket(self.address))
839
840 def tearDown(self):
841 self.io_loop.run_sync(self.server.close_all_connections)

Callers

nothing calls this directly

Calls 4

ApplicationClass · 0.90
HTTPServerClass · 0.90
add_socketMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected