def setUp(self):  # pylint: disable=invalid-name
        self.hass = get_test_home_assistant()
Setup things to be run when tests are started.
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/light/test_init.py/TestLight.setUp