Skip to main content

doubles

https://badge.fury.io/py/doubles.svg https://travis-ci.org/uber/doubles.svg?branch=master https://readthedocs.org/projects/doubles/badge/?version=latest https://coveralls.io/repos/github/uber/doubles/badge.svg?branch=master

Doubles is a Python package that provides test doubles for use in automated tests.

It provides functionality for stubbing, mocking, and verification of test doubles against the real objects they double. In contrast to the Mock package, it provides a clear, expressive syntax and better safety guarantees to prevent API drift and to improve confidence in tests using doubles. It comes with drop-in support for test suites run by Pytest, Nose, or standard unittest.

Documentation

Documentation is available at http://doubles.readthedocs.org/en/latest/.

Development

Source code is available at https://github.com/uber/doubles.

To install the dependencies on a fresh clone of the repository, run make bootstrap.

To run the test suite, run make test.

To build the documentation locally, run make docs.

License

MIT: http://opensource.org/licenses/MIT

Metadata

Release files for mydoubles 1.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mydoubles 1.5.3
File Size Uploaded Provenance
mydoubles-1.5.3.tar.gz 17.6 kB Without provenance Details

Release files / mydoubles-1.5.3.tar.gz

Download URL mydoubles-1.5.3.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
dde58120f1aa597797c67a2558d6a5c7cf84794a1699aa3b68fd9fa215af469c
BLAKE2b-256 checksum
How to use checksums
99867ba81edf56c3dd8a419f6bd58f24cbc5c29580c5ea2a387edf8073fbc935
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.8

Security for mydoubles 1.5.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.5.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page