'Test for immutable input.'

def test_not_mutate_input(self):

    config = cv.SERVICE_SCHEMA({'service': 'test_domain.test_service', 'entity_id': 'hello.world,    sensor.beer', 'data': {'hello': 1}, 'data_template': {'nested': {'value': '{{    1    +    1    }}'}}})
    orig = deepcopy(config)
    template.attach(self.hass, orig)
    service.call_from_config(self.hass, config, validate_config=False)
    assert (orig == config)
