https://github.com/jayrbolton/python-module-mocks
Python module function mock example
https://github.com/jayrbolton/python-module-mocks
Last synced: 11 months ago
JSON representation
Python module function mock example
- Host: GitHub
- URL: https://github.com/jayrbolton/python-module-mocks
- Owner: jayrbolton
- Created: 2020-07-07T19:00:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-07T19:03:41.000Z (over 5 years ago)
- Last Synced: 2025-01-04T23:41:30.634Z (about 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python module function mocking example
* Module `src.b` calls the function from module `src.a`
* `main.py` mocks the function from module `src.a` when it is called inside module `src.b`