'Test the setup with default configuration.'

def test_setup_config_defaults(self, mock_client):

    config = {'influxdb': {'host': 'host', 'username': 'user', 'password': 'pass'}}
    assert setup_component(self.hass, influxdb.DOMAIN, config)
    self.assertTrue(self.hass.bus.listen.called)
    self.assertEqual(EVENT_STATE_CHANGED, self.hass.bus.listen.call_args_list[0][0][0])
