'Setup things to be run when tests are started.'

def setUp(self):

    self.hass = get_test_home_assistant()
    assert setup_component(self.hass, http.DOMAIN, {http.DOMAIN: {http.CONF_SERVER_PORT: SERVER_PORT, http.CONF_API_PASSWORD: API_PASSWORD}})
    assert setup_component(self.hass, mp.DOMAIN, {'media_player': {'platform': 'demo'}})
    self.hass.start()
