An Introduction to Mocking in Python by Naftuli Tzvi Kay
This article is very insightful for covering mocking in Python. In case you don’t know mocking is a technique for testing where you don’t want to use a particular object or set of objects. For example, you might want to simulate database functionality while you are writing your test cases.
Hope you all find this useful, have a great day!