Mock object library for Python.
This library enables the easy creation and use of Mock objects for Python unit testing. The Mock objects can contain expectations about how they are used, and can validate themselves against the class being mocked.
Follow Python Mock Library
Rate This ProjectLogin To Rate This Project
Python-mock works good.