title: How to assert method call order with Python Mock?
body: <p>Suppose I have a python function</p>
  
  <pre><code>def func(self):
      self.method_1()
      self.method_2()
  </code></pre>
  
  <p>How can I write an unit test that can assert method_1 is called before method_2?</p>
  
  <pre><code>@mock.patch(method_1)
  @mock.patch(method_2)
  def test_call_order(method_2_mock, method_1_mock):
       # Test the order
  </code></pre>