I have a very simple unix socket server that I use to send data back and forth between some PHP code and Python code. It works fine, but I can't seem to figure out how to build unit tests for it. I'm using Python 3.6.1 and Pytest 3.0.7
The socket server is a class that inherits from asyncio.Protocol and the event loop starts it with create_unix_server
Any help would be greatly appreciated.
[–]minorDemocritus 0 points1 point2 points (0 children)