MCPcopy Create free account
hub / github.com/EasyIME/PIME / test_refused_ipv4

Method test_refused_ipv4

python/python3/tornado/test/tcpclient_test.py:133–137  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131
132 @gen_test
133 def test_refused_ipv4(self):
134 cleanup_func, port = refusing_port()
135 self.addCleanup(cleanup_func)
136 with self.assertRaises(IOError):
137 yield self.client.connect("127.0.0.1", port)
138
139 def test_source_ip_fail(self):
140 """Fail when trying to use the source IP Address '8.8.8.8'."""

Callers

nothing calls this directly

Calls 2

refusing_portFunction · 0.90
connectMethod · 0.45

Tested by

no test coverage detected