Pytest has become the standard tool to test python code. In this post I will show you several tricks…