title: What is difference between python mock and magic mock?
body: <p>What is difference between python mock and magic mock, because I could see</p>
  
  <pre><code>&gt;&gt;&gt; dir(Mock()) == dir(MagicMock())
  True
  </code></pre>
  
  <p>when to use mock obj &amp; when to use MagicMock obj??</p>