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:

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.4.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file flexmock-0.4.tar.gz.

File metadata

  • Download URL: flexmock-0.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flexmock-0.4.tar.gz
Algorithm Hash digest
SHA256 68c8437e66ef9154a6d7ffe51a204864c60b74b241b3ae226841f4d6d585cfb1
MD5 215dead3fb090432fd8c4b7972066f9c
BLAKE2b-256 e5442d585be4797b27c61e5a1363d30c792aeefea6b083623158af5af4fd2971

See more details on using hashes here.

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