core/tests/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 Sort imports according to PEP8 for http (#29679) 2019-12-09 11:59:38 +01:00
test_auth.py String formatting improvements for tests (2) (#33666) 2020-04-05 00:33:07 +02:00
test_ban.py Do not ban supervisor ip if set (#33781) 2020-04-08 10:31:44 -07:00
test_cors.py Sort imports according to PEP8 for http (#29679) 2019-12-09 11:59:38 +01:00
test_data_validator.py Black 2019-07-31 12:25:30 -07:00
test_init.py Fix HTTP config serialization (#31319) 2020-01-30 09:47:16 -08:00
test_real_ip.py Sort imports according to PEP8 for http (#29679) 2019-12-09 11:59:38 +01:00
test_view.py Sort imports according to PEP8 for http (#29679) 2019-12-09 11:59:38 +01:00