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

Method test_source_ip_success

tornado/test/tcpclient_test.py:148–150  ·  view source on GitHub ↗

Success when trying to use the source IP Address '127.0.0.1'.

(self)

Source from the content-addressed store, hash-verified

146 )
147
148 def test_source_ip_success(self):
149 """Success when trying to use the source IP Address '127.0.0.1'."""
150 self.do_test_connect(socket.AF_INET, "127.0.0.1", source_ip="127.0.0.1")
151
152 @skipIfNonUnix
153 def test_source_port_fail(self):

Callers

nothing calls this directly

Calls 1

do_test_connectMethod · 0.95

Tested by

no test coverage detected