'Call update() method during __init__().'

@patch('homeassistant.components.sensor.tcp.TcpSensor.update')
def test_init_calls_update(self, mock_update):

    tcp.TcpSensor(self.hass, TEST_CONFIG)
    assert mock_update.called
