Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -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