Skip to main content

Mock library for Python inspired by Ruby's FlexMock

Project description

FlexMock provides a mock/stub library for Python. It is inspired by Ruby’s FlexMock, however full feature parity with the Ruby version is not a goal. It omits a number of things in the Ruby version, mainly various shortcuts for existing functionality, and implements a number of things that Ruby’s FlexMock doesn’t support, such as proxying/spying, returning different arguments on successive method calls, and matching argument types.

Usage documentation:

https://github.com/has207/flexmock/wiki/Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flexmock-0.6.3.tar.gz (5.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page