title: What to mock for python test cases?
body: <p>I want to understand what needs to be mocked and what not when writing test cases in general.</p>
  
  <p>For example, we will mock I/O operations, but what about functions imported from another module. Are we supposed to mock them as well?</p>