Skip to main content

A mocking library developed to enable static and runtime type checking of your mocks to keep them in sync with production code.

Project description

Github Actions Status https://codecov.io/gh/dmayo3/mocksafe/branch/main/graph/badge.svg?token=S3JI6OOTGF Documentation Status PyPI Package Supported versions Code style: black Type checked by mypy MIT License

MockSafe v0.4.1-alpha

A mocking library developed to enable static and runtime type checking of your mocks to help keep them up-to-date with your production code.

It has a simple, fluent API and is designed to be used with Python’s assert statement.

Checkout the docs link below for more information.

Install and quickstart

pip install mocksafe

Library Usage

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

mocksafe-0.4.1a0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

mocksafe-0.4.1a0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file mocksafe-0.4.1a0.tar.gz.

File metadata

  • Download URL: mocksafe-0.4.1a0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for mocksafe-0.4.1a0.tar.gz
Algorithm Hash digest
SHA256 2ea5b4a2161839451c6e83ba0d6e2486e0d6b263772feb836c8eaf8a09ac4374
MD5 c9ad2c3f4d3d176c0c05c031338732ee
BLAKE2b-256 56353bac689f64e363953cc18abb6bccde88ef496107cfa8cbb86f9abedf5c33

See more details on using hashes here.

File details

Details for the file mocksafe-0.4.1a0-py3-none-any.whl.

File metadata

  • Download URL: mocksafe-0.4.1a0-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for mocksafe-0.4.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 3281d4e55e8e1e88041fc4def7df1bfbfdff7bd0db753fd8e60304fce4ca651d
MD5 11b99848a15da6f6c3ae211f9f8aa38f
BLAKE2b-256 3c603f943f4dbd037e9a177ce03257393757ecaf2ed8cb5f8c37e6ad06496308

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