Skip to main content

Extensions to the mock library

Project description

The mockextras library is designed to be used with the unittest.mock library in python 3 or the mock backport of this (http://www.voidspace.org.uk/python/mock/) in python 2. The mockextras library adds a number of features that are found in other mocking libraries namely:

  • a fluent API for the configuration of stubs

  • stubs

  • matchers

The documentation is here: http://mockextras.readthedocs.org/ and the source is here: http://github.com/manahl/mockextras

Project details


Download files

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

Source Distributions

mockextras-1.0.2.zip (13.4 kB view details)

Uploaded Source

mockextras-1.0.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distributions

mockextras-1.0.2.win-amd64.exe (231.8 kB view details)

Uploaded Source

mockextras-1.0.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

mockextras-1.0.2-py2-none-any.whl (8.1 kB view details)

Uploaded Python 2

File details

Details for the file mockextras-1.0.2.zip.

File metadata

  • Download URL: mockextras-1.0.2.zip
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mockextras-1.0.2.zip
Algorithm Hash digest
SHA256 0a9038d8c1d9a08a69c2f6b8440fc6d7749e10dd79af9df57ba8962c0264ae8e
MD5 4bfeb151a46fcd1687b34ac96aeb6e67
BLAKE2b-256 7704f5741ae0b8ad1eff53ffdaa0ed8d9712bff8294ade7f94d369f9e1cd3d62

See more details on using hashes here.

File details

Details for the file mockextras-1.0.2.tar.gz.

File metadata

  • Download URL: mockextras-1.0.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mockextras-1.0.2.tar.gz
Algorithm Hash digest
SHA256 09b77b91a9bffd475eaaeb631628bdfd9a7e3eed31d235290614bb38c7979692
MD5 b09d52e2c0d8198ef02d04288e8582c1
BLAKE2b-256 46f6955a8ed88b61a319b3ec01d5cfa8a162625e1f87d8f78bd5232283b46b25

See more details on using hashes here.

File details

Details for the file mockextras-1.0.2.win-amd64.exe.

File metadata

File hashes

Hashes for mockextras-1.0.2.win-amd64.exe
Algorithm Hash digest
SHA256 fff715578d61486032890b09dff3bc04057ee665b60cd4fd95843b18482ee3b1
MD5 0b2709e0f8bcc9bc98f3aad69a2429e7
BLAKE2b-256 fc4b4d6530f0011925ef00423a4e0d69a20b211ae9915f141e581cb2d4598b00

See more details on using hashes here.

File details

Details for the file mockextras-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mockextras-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 131c2179bcf89944d61d6a87c7ac57328768f2b634d08cddba540dbdef90631a
MD5 3a98f88d8792587d74110f96252c1942
BLAKE2b-256 3d87c87e5b1d6bbd48d80c56e64fadf183ee3d832d3caed0bdc4766cca8dc06a

See more details on using hashes here.

File details

Details for the file mockextras-1.0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for mockextras-1.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 704c15f96707a61f73fa145e1ee3c149030a4635571b9cfdc63cc4304dbae6f7
MD5 b61fa8220404a2ebddf0c151ee86d790
BLAKE2b-256 e28bca2c94e56063b50f7c18d88e825534e761e8abb327cff91a68e3cb878f62

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