Batch of Component(s) -> Integration(s) (#24972)

This commit is contained in:
Franck Nijhof 2019-07-06 00:24:26 +02:00 committed by Paulus Schoutsen
parent e75c9efb3f
commit 31f569ada9
27 changed files with 34 additions and 34 deletions

View file

@ -329,7 +329,7 @@ mock_mqtt_component = threadsafe_coroutine_factory(async_mock_mqtt_component)
def mock_component(hass, component):
"""Mock a component is setup."""
if component in hass.config.components:
AssertionError("Component {} is already setup".format(component))
AssertionError("Integration {} is already setup".format(component))
hass.config.components.add(component)