Skip to content

Contains examples of magic mock usage for unit testing

Notifications You must be signed in to change notification settings

nickwilmes/magic-mock-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Contains examples of magic mock usage for unit testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages