MagicMock has default implementation of all the python's magic strategies. That is why It can be termed MagicMock. Here's the list of all magic approaches rszalski.github.io/magicmethods.It goes into a certain amount of detail about most of the methods the magic selection reference is created. Here is a quote about magic variety as a foul programmi