https://www.ivanov.biz/2016/howto-spy-with-python-mock/
How to spy on Mock-wrapped method calls in Python