def setUp(self):  # pylint: disable=invalid-name
        self.hass = get_test_home_assistant()
        self.assertTrue(comps.setup(self.hass, {}))

        self.hass.states.set('light.Bowl', STATE_ON)
        self.hass.states.set('light.Ceiling', STATE_OFF)
Setup things to be run when tests are started.
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/test_init.py/TestComponentsCore.setUp