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

Method test_one_family

tornado/test/tcpclient_test.py:182–186  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180
181class TestConnectorSplit(unittest.TestCase):
182 def test_one_family(self):
183 # These addresses aren't in the right format, but split doesn't care.
184 primary, secondary = _Connector.split([(AF1, "a"), (AF1, "b")])
185 self.assertEqual(primary, [(AF1, "a"), (AF1, "b")])
186 self.assertEqual(secondary, [])
187
188 def test_mixed(self):
189 primary, secondary = _Connector.split(

Callers

nothing calls this directly

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected