Commit f4e8392c authored by Federico Vaga's avatar Federico Vaga

tst: improve sync message testing

In order to validate the internal filter mechanism we have to ensure that
we do not receive anything on the async channel.
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 358f6a73
......@@ -235,3 +235,6 @@ class TestHmq(object):
assert msg_r.header.flags == PyMockTurtle.TrtlHmqHeader.TRTL_HMQ_HEADER_FLAG_ACK
for v1, v2 in zip(msg.payload, msg_r.payload):
assert v1 == v2
msg_r = hmq.recv_msg()
assert msg_r is None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment