title: PyTest - Apply mock to all tests
body: <p>I would like to apply a mock/patch that will apply to all tests, how can I do this?</p>
  
  <p>I had tried putting it in a fixture, and using the fixture everywhere, but, the reapplication of the mock/patch on each test was leading to inconsistent <code>id(my_mock)</code> values.</p>