add_devices -> add_entities (#16171)
* add_devices -> add_entities * Lint * PyLint * Revert external method in scsgate
This commit is contained in:
1 parent
37fd438717
commit
994b829cb4
839 files changed
+2121
-2008
No files matched your search
@@ -99,7 +99,7 @@ def test_error(hass, caplog):
|
||||
sys.modules['pyhydroquebec.client'] = PyHydroQuebecClientFakeModule()
|
||||
|
||||
config = {}
|
||||
fake_async_add_devices = MagicMock()
|
||||
fake_async_add_entities = MagicMock()
|
||||
yield from hydroquebec.async_setup_platform(hass, config,
|
||||
fake_async_add_devices)
|
||||
assert fake_async_add_devices.called is False
|
||||
fake_async_add_entities)
|
||||
assert fake_async_add_entities.called is False
|
||||
Reference in new issue
Block a user