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

Method test_mixed

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

Source from the content-addressed store, hash-verified

186 self.assertEqual(secondary, [])
187
188 def test_mixed(self):
189 primary, secondary = _Connector.split(
190 [(AF1, "a"), (AF2, "b"), (AF1, "c"), (AF2, "d")]
191 )
192 self.assertEqual(primary, [(AF1, "a"), (AF1, "c")])
193 self.assertEqual(secondary, [(AF2, "b"), (AF2, "d")])
194
195
196class ConnectorTest(AsyncTestCase):

Callers

nothing calls this directly

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected