Published on 16 November 2012, updated on 16 November 2012, Comments Mock is a Python mocking and testing library. It has become a de facto standard and is now included in the Python standard library. Lately I’ve had the chance to work on a fairly large code base built upon a service-oriented architecture. In order to test each service in isolation, we make extensive use of Mock to simulate servic