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 things in the Ruby version that I think are less useful, like the zero_or_more_times expectation for example. It also implements things that Ruby’s FlexMock doesn’t support, such as proxying/spying using pass_thru. Usage documentation is available on the github wiki:

Project details

Download files

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

Files for flexmock, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size flexmock-0.5.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page