Side Effects of mock Module

Let’s discuss the implementation of side_effects.

We'll cover the following...

We can also create side effects of mock objects via the side_effect argument. A side effect is something that happens when we run our function.
For example, some video games have integration into social media. When we score a certain number of ...