MockMockMock is a Python mocking library.
It focuses on very explicit definition of the mocks’ behaviour.
It allows as-specific-as-needed unit-tests as well as more generic ones.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.