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
@@ -80,7 +80,9 @@ async def test_setup_recovers_when_setup_raises(hass):
|
||||
assert platform2_setup.called
|
||||
|
||||
|
||||
@patch("homeassistant.helpers.entity_component.EntityComponent.async_setup_platform",)
|
||||
@patch(
|
||||
"homeassistant.helpers.entity_component.EntityComponent.async_setup_platform",
|
||||
)
|
||||
@patch("homeassistant.setup.async_setup_component", return_value=True)
|
||||
async def test_setup_does_discovery(mock_setup_component, mock_setup, hass):
|
||||
"""Test setup for discovery."""
|
||||
|
||||
Reference in new issue
Block a user