mirror of
https://github.com/home-assistant/core.git
synced 2025-11-06 17:40:11 +00:00
Upgrade black to 20.8b1 (#39287)
This commit is contained in:
@@ -15,6 +15,7 @@ zeroconf.install_multiple_zeroconf_catcher = lambda zc: None
|
||||
def prevent_io():
|
||||
"""Fixture to prevent certain I/O from happening."""
|
||||
with patch(
|
||||
"homeassistant.components.http.ban.async_load_ip_bans_config", return_value=[],
|
||||
"homeassistant.components.http.ban.async_load_ip_bans_config",
|
||||
return_value=[],
|
||||
):
|
||||
yield
|
||||
|
||||
Reference in New Issue
Block a user