https://github.com/yeraydiazdiaz/wtmock
What the mock? -- Cheatsheet for mocking in Python
https://github.com/yeraydiazdiaz/wtmock
Last synced: 5 months ago
JSON representation
What the mock? -- Cheatsheet for mocking in Python
- Host: GitHub
- URL: https://github.com/yeraydiazdiaz/wtmock
- Owner: yeraydiazdiaz
- Created: 2018-04-06T12:52:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T08:38:18.000Z (over 5 years ago)
- Last Synced: 2024-12-24T22:33:22.970Z (6 months ago)
- Language: Python
- Homepage: https://medium.com/@yeraydiazdiaz/what-the-mock-cheatsheet-mocking-in-python-6a71db997832
- Size: 6.84 KB
- Stars: 91
- Watchers: 1
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What the mock? — A cheatsheet for mocking in Python
Code examples for [my article with the same name](https://medium.com/@yeraydiazdiaz/what-the-mock-cheatsheet-mocking-in-python-6a71db997832).
Simply run:
- `python -m unittest` for the tests examples,
- and `python intro_to_mock.py` for the introduction to the Mock class.Enjoy!