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

Method test_stop_twice

tornado/test/tcpserver_test.py:65–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 client.close()
64
65 def test_stop_twice(self):
66 sock, port = bind_unused_port()
67 server = TCPServer()
68 server.add_socket(sock)
69 server.stop()
70 server.stop()
71
72 @gen_test
73 def test_stop_in_callback(self):

Callers

nothing calls this directly

Calls 4

add_socketMethod · 0.95
stopMethod · 0.95
bind_unused_portFunction · 0.90
TCPServerClass · 0.90

Tested by

no test coverage detected