when I ask a __name__ of a MagicMock object I get an AttributeError => which is just how MagicMock works I think.
from mock import Magic