asyncio-testing

Unit testing asyncio code

MIT License

Stars
27
Committers
1

Testing asyncio code

This repository contains the examples featured in my blog article Unit Testing AsyncIO Code.

Note that these tests work only on Python 3.5+.

To run the unit synchronous unit tests, use the following command:

$ python test_receive.py

To run the asynchronous unit tests, use the following command:

$ python test_async_receive.py