Mock object generator for python testing
