title: View 404 response code not visible in Python test
body: <p>I've created a test for my Python code where I do a PATCH operation using a non existant bucket. I expect a 404 response but instead get this:</p>
  
  <pre><code>HTTPSConnectionPool(host='config.storage.cloud.com', port=443): Max retries exceeded with url: /v1/foo (Caused by NewConnectionError('&lt;urllib3.connection.VerifiedHTTPSConnection object at 0x10ffe8c90&gt;: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',))
  </code></pre>
  
  <p>The response kinda makes sense but is there any way I can view the response code? I assume if there is it will be through urllib3 in some way.</p>