title: How to mock multiple urls in request mock
body: <p>I have a method which is calling two different end points and validating there response.</p>
  <pre><code>def foo_bar:
    status_1 = requests.post(
          &quot;http://myapi/test/status1&quot;, {},
          headers=headers)
  
    status_2 = requests.post(
          &quot;http://myapi/test/status2&quot;, {},
          headers=headers)
    
   # and check the responses ...
  </code></pre>
  <p>I want to mock the both the url in pytest like this:</p>
  <pre><code>def foo_test:
     with requests_mock.Mocker() as m1:
         m1.post('http://myapi/test/status1',
                 json={},
                 headers={'x-api-key': my_api_key})
         
         m1.post('http://myapi/test/status2',
                 json={},
                 headers={'x-api-key': my_api_key})
  </code></pre>
  <p>It always throws the error</p>
  <pre><code>**NO mock address: http://myapi/test/status2**
  </code></pre>
  <p>seems like its only mocking first url.</p>
  <p>So is there any way to mock more than one url in one method?</p>