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