GitHub - testing-cabal/mock: The Python mock library (original) (raw)

Skip to content

Sign in

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

testing-cabal / mock Public

The Python mock library

docs.python.org/dev/library/unittest.mock.html

License

BSD-2-Clause license

538 stars 105 forks Branches Tags Activity

Star

Notifications You must be signed in to change notification settings

Additional navigation options

BranchesTags

Folders and files

Name Name Last commit message Last commit date
Latest commitHistory1,462 Commits
.circleci .circleci
.github/ISSUE_TEMPLATE .github/ISSUE_TEMPLATE
docs docs
mock mock
.carthorse.yml .carthorse.yml
.coveragerc .coveragerc
.gitignore .gitignore
.readthedocs.yml .readthedocs.yml
CHANGELOG.rst CHANGELOG.rst
LICENSE.txt LICENSE.txt
MANIFEST.in MANIFEST.in
README.rst README.rst
backport.py backport.py
lastsync.txt lastsync.txt
release.py release.py
setup.cfg setup.cfg
setup.py setup.py

Repository files navigation

mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used.

mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards.

This package contains a rolling backport of the standard library mock code compatible with Python 3.6 and up.

Please see the standard library documentation for more details.

Homepage: Mock Homepage
Download: Mock on PyPI
Documentation: Python Docs
License: BSD License
Support: Mailing list (testing-in-python@lists.idyll.org)
Code: GitHub
Issue tracker: GitHub Issues
Build status: CircleCI Docs

About

The Python mock library

docs.python.org/dev/library/unittest.mock.html

Resources

Readme

License

BSD-2-Clause license

Activity

Custom properties

Stars

538 stars

Watchers

22 watching

Forks

105 forks

Report repository

Releases

27 tags

Packages

No packages published

Contributors97

+ 83 contributors

Languages