hass-core/homeassistant/components/http
Martin Hjelmare c3decc6531
Do not ban supervisor ip if set (#33781)
* Use asynctest patch instead of mock_coro

* Add test for supervisor ip ban

* Do not ban supervisor ip if set

* Extract supervisor ip helper

* Check supervisor ip before banning

* Remove added blank line

* Clean up get supervisor ip

Co-Authored-By: Pascal Vizeli <pvizeli@syshack.ch>

Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-04-08 10:31:44 -07:00
..
__init__.py Fix HTTP config serialization (#31319) 2020-01-30 09:47:16 -08:00
auth.py Use f-strings in integrations starting with "H" - "L" (#32265) 2020-02-28 12:39:29 +01:00
ban.py Do not ban supervisor ip if set (#33781) 2020-04-08 10:31:44 -07:00
const.py Black 2019-07-31 12:25:30 -07:00
cors.py Move imports to top for http (#29500) 2019-12-05 13:42:09 +01:00
data_validator.py Clean up mobile app webhooks (#30123) 2019-12-21 22:45:06 +01:00
manifest.json Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
real_ip.py Move imports to top for http (#29500) 2019-12-05 13:42:09 +01:00
static.py Move imports to top for http (#29500) 2019-12-05 13:42:09 +01:00
view.py Use HTTP_OK constant (#33798) 2020-04-08 11:47:38 -05:00