Replies: 1 comment
-
I haven't found any modern examples of testing PyZMQ code. So I wrote an example here that uses pytest and pytest-mock. But surely there are some other testing examples out there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Are there any examples that demonstrate testing pyzmq client and server code with pytest? I don't see anything in the pyzmq docs or the ØMQ Guide about testing. I imagine the context and socket would need to be mocked but I'm not sure about the actual implementation of these mocks. Anyway, some resources on how to write tests for code that uses pyzmq would be very helpful.
Beta Was this translation helpful? Give feedback.
All reactions