def test_setup(self):
     """ Test setup method of history. """
     http.setup(self.hass,
                {http.DOMAIN: {
                    http.CONF_SERVER_PORT: SERVER_PORT
                }})
     self.assertTrue(history.setup(self.hass, {}))
Ejemplo n.º 2
0
 def test_setup(self):
     """ Test setup method of history. """
     mock_http_component(self.hass)
     self.assertTrue(history.setup(self.hass, {}))
Ejemplo n.º 3
0
 def test_setup(self):
     """ Test setup method of history. """
     mock_http_component(self.hass)
     self.assertTrue(history.setup(self.hass, {}))
 def test_setup(self):
     """ Test setup method of history. """
     http.setup(self.hass, {
         http.DOMAIN: {http.CONF_SERVER_PORT: SERVER_PORT}})
     self.assertTrue(history.setup(self.hass, {}))