Upgrade black to 20.8b1 (#39287)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-08-27 13:56:20 +02:00
1 parent 0d7eec710c
commit 1c2ebdf307
574 files changed
+4389 -1725

No files matched your search

+6 -2
View File
@@ -162,7 +162,8 @@ async def test_zeroconf_form(hass: core.HomeAssistant):
return_value={"bondid": "test-bond-id"}
), patch_bond_device_ids(), _patch_async_setup() as mock_setup, _patch_async_setup_entry() as mock_setup_entry:
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"], {CONF_ACCESS_TOKEN: "test-token"},
result["flow_id"],
{CONF_ACCESS_TOKEN: "test-token"},
)
assert result2["type"] == "create_entry"
@@ -249,4 +250,7 @@ def _patch_async_setup():
def _patch_async_setup_entry():
return patch("homeassistant.components.bond.async_setup_entry", return_value=True,)
return patch(
"homeassistant.components.bond.async_setup_entry",
return_value=True,
)