title: How to mock external requests using aiohttp?
body: <p>I'm trying to mock a single request to an external URL but in the documentation exists just examples to internal request (starting with '/'), it's impossible to add routers who not start with '/' on the current version of aiohttp.
  I'm using pytest and pytest-aiohttp, here are an example of the request code: </p>
  
  <pre class="lang-py prettyprint-override"><code>import aiohttp
  import asyncio
  
  async def fetch(client):
     async with client.get('http://python.org') as resp:
         return resp.status, (await resp.text())
  
  async def main():
     async with aiohttp.ClientSession() as client:
         html = await fetch(client)
         print(html)
  
  loop = asyncio.get_event_loop()
  loop.run_until_complete(main())
  </code></pre>
  
  <p>The kind of assertion that I want to do is very simple, like check the status code, the headers, and the content.</p>