mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Remove deprecated hass.components
from http test (#113823)
This commit is contained in:
parent
32c64855b2
commit
f96bb6754b
@ -470,7 +470,7 @@ async def test_storing_config(
|
||||
async_fire_time_changed(hass, dt_util.utcnow() + timedelta(seconds=200))
|
||||
await hass.async_block_till_done()
|
||||
|
||||
restored = await hass.components.http.async_get_last_config()
|
||||
restored = await http.async_get_last_config(hass)
|
||||
restored["trusted_proxies"][0] = ip_network(restored["trusted_proxies"][0])
|
||||
|
||||
assert restored == http.HTTP_SCHEMA(config)
|
||||
|
Loading…
x
Reference in New Issue
Block a user