@patch("homeassistant.components.sensor.tcp.Sensor.update")
    def test_config_valid_keys(self, *args):
        """Should store valid keys in _config."""
        sensor = tcp.Sensor(self.hass, TEST_CONFIG)
        for key in TEST_CONFIG:
            assert sensor._config in key
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/sensor/test_tcp.py/TestTCPSensor.test_config_valid_keys/swapped operands of `in`