Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 560 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 560 Bytes

magic-mock-examples

This repo contains examples of MagicMock usage for unit testing. Feel free to fork this repo and play around with the example test cases to get a better understanding of MagicMock and its many features.

Running Examples

You will want to install the required libraries using the following command:

pip install -r requirements.txt

Once installed, you can run the tests using pytest through your IDE or though CLI.