Speed up tests
This commit is contained in:
parent
a34b00bc9c
commit
58afbecd05
21 changed files with 98 additions and 82 deletions
|
@ -20,7 +20,6 @@ class TestComponentsCore(unittest.TestCase):
|
|||
def setUp(self): # pylint: disable=invalid-name
|
||||
""" Init needed objects. """
|
||||
self.hass = ha.HomeAssistant()
|
||||
loader.prepare(self.hass)
|
||||
self.assertTrue(comps.setup(self.hass, {}))
|
||||
|
||||
self.hass.states.set('light.Bowl', STATE_ON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue