core/tests
Colin O'Dell fd38caa287 X-Forwarded-For improvements and bug fixes (#15204)
* Use new trusted_proxies setting for X-Forwarded-For whitelist

* Only use the last IP in the header

Per Wikipedia (https://en.wikipedia.org/wiki/X-Forwarded-For#Format):

 > The last IP address is always the IP address that connects to the last proxy,
 > which means it is the most reliable source of information.

* Add two additional tests

* Ignore nonsense header values instead of failing
2018-06-29 16:27:06 -04:00
..
auth_providers Migrate home assistant auth provider to use storage helper (#15200) 2018-06-29 00:02:45 -04:00
components X-Forwarded-For improvements and bug fixes (#15204) 2018-06-29 16:27:06 -04:00
fixtures Upgrade ring_doorbell to 0.2.1 to fix oauth issues (#14984) 2018-06-16 08:58:39 +02:00
helpers Storage auth (#15192) 2018-06-28 22:14:26 -04:00
mock Look at registry before pulling zwave config values (#14408) 2018-05-12 17:45:36 -04:00
resources Revised package util tests 2016-01-30 14:08:32 -05:00
scripts X-Forwarded-For improvements and bug fixes (#15204) 2018-06-29 16:27:06 -04:00
test_util Fix aiohttp deprecation warnings (#13240) 2018-03-15 21:49:49 +01:00
testing_config Revert custom component loading logic (#14327) 2018-05-07 11:25:48 +02:00
util Do not mount deps folder when running in virtual env (#14993) 2018-06-16 10:48:41 -04:00
__init__.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
common.py Make sure we check access token expiration (#15207) 2018-06-29 00:02:33 -04:00
conftest.py Storage auth (#15192) 2018-06-28 22:14:26 -04:00
test_auth.py Make sure we check access token expiration (#15207) 2018-06-29 00:02:33 -04:00
test_bootstrap.py Do not mount deps folder when running in virtual env (#14993) 2018-06-16 10:48:41 -04:00
test_config.py Fix extended package support (#14980) 2018-06-16 06:55:32 -04:00
test_config_entries.py Storage auth (#15192) 2018-06-28 22:14:26 -04:00
test_core.py Spelling, grammar etc fixes (#14432) 2018-05-13 12:09:28 +02:00
test_data_entry_flow.py Fix hue discovery popping up (#14614) 2018-05-24 14:24:14 -04:00
test_loader.py Warn when using custom components (#15172) 2018-06-27 15:21:32 -04:00
test_main.py Hello Python 3.5 (#12610) 2018-02-22 23:22:27 -08:00
test_remote.py Spelling fixes (#11940) 2018-01-27 11:58:27 -08:00
test_requirements.py Custom component loading cleanup (#14211) 2018-05-01 20:57:30 +02:00
test_setup.py Custom component loading cleanup (#14211) 2018-05-01 20:57:30 +02:00