Python Testing with pytest, Second Edition:

I’ve just pushed the code for ch7, so that should be in the next beta