Convert config.components to a set (#5824)

This commit is contained in:
Paulus Schoutsen authored and Johann Kellerman committed 2017-02-09 20:21:57 +02:00
1 parent f3b9fa2f41
commit c54517de90
44 files changed
+118 -104

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ class TestScriptComponent(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')
# pylint: disable=invalid-name
def tearDown(self):