Chai provides a very easy to use api for mocking, stubbing and spying your python objects, patterned after the Mocha library for Ruby.