GitHub - testing-cabal/mock: The Python mock library (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
Explore - Why GitHub
- All features
- Documentation
- GitHub Skills
- Blog
- By company size
- Topics
- Pricing
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
testing-cabal / mock Public
- Notifications You must be signed in to change notification settings
- Fork105
- Star 538
The Python mock library
docs.python.org/dev/library/unittest.mock.html
License
538 stars 105 forks Branches Tags Activity
Notifications You must be signed in to change notification settings
Additional navigation options
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: |
About
The Python mock library
docs.python.org/dev/library/unittest.mock.html
Resources
License
Stars
Watchers
Forks
Releases
Packages
No packages published