I am testing an event monitor I wrote in Python for ZeroMQ. I would like to test my callback for the zmq.EVENT_HANDSHAKE_FAILED_PROTOCOL event. What is the easiest way to trigger this event? The reason it triggers or value does not matter; I just need to get it to trigger so I could see if my logic works.
↧