1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Convert config.components to a set (#5824)

This commit is contained in:
Paulus Schoutsen
2017-02-09 10:21:57 -08:00
committed by Johann Kellerman
parent f3b9fa2f41
commit c54517de90
44 changed files with 118 additions and 104 deletions

View File

@@ -15,7 +15,7 @@ class TestAutomationMQTT(unittest.TestCase):
def setUp(self):
"""Setup things to be run when tests are started."""
self.hass = get_test_home_assistant()
self.hass.config.components.append('group')
self.hass.config.components.add('group')
mock_mqtt_component(self.hass)
self.calls = []