1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Sort imports according to PEP8 for http (#29679)

This commit is contained in:
Bas Nijholt
2019-12-09 11:59:38 +01:00
committed by Franck Nijhof
parent c7d61279bd
commit 3d10bb3647
7 changed files with 19 additions and 21 deletions

View File

@@ -1,10 +1,11 @@
"""Test real IP middleware."""
from aiohttp import web
from aiohttp.hdrs import X_FORWARDED_FOR
from ipaddress import ip_network
from homeassistant.components.http.real_ip import setup_real_ip
from aiohttp import web
from aiohttp.hdrs import X_FORWARDED_FOR
from homeassistant.components.http.const import KEY_REAL_IP
from homeassistant.components.http.real_ip import setup_real_ip
async def mock_handler(request):