MCPcopy
hub / github.com/zeromq/pyzmq / test_basic_multipart

Method test_basic_multipart

tests/test_multipart.py:22–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 assert not router.rcvmore
21
22 def test_basic_multipart(self):
23 a, b = self.create_bound_pair(zmq.PAIR, zmq.PAIR)
24 msg = [b'hi', b'there', b'b']
25 a.send_multipart(msg)
26 recvd = b.recv_multipart()
27 assert msg == recvd
28
29
30if have_gevent:

Callers

nothing calls this directly

Calls 3

create_bound_pairMethod · 0.45
send_multipartMethod · 0.45
recv_multipartMethod · 0.45

Tested by

no test coverage detected